public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: Frantisek Hanzlik <franta@hanzlici.cz>
To: Vedran Vucic <vedran.vucic@gmail.com>
Cc: linux-msdos <linux-msdos@vger.kernel.org>
Subject: Re: printing
Date: Sat, 27 Nov 2010 18:44:14 +0100	[thread overview]
Message-ID: <4CF1436E.9050803@hanzlici.cz> (raw)
In-Reply-To: <AANLkTik7=rvwCDa8VqP4E699kx9-fqZ5rXvFxjU6ptA4@mail.gmail.com>

Vedran Vucic wrote:
> Hello,
> 
> When I corrected as  you mentioned dosemu started normally. I entered
> my DOS application and tried toprint, but in terminal I have seen
> error message that pcl6 command is not found.
> Any suggestion? Any link or slink needed for that purpose?  Is there
> any path tweaking required?

You wrote before You build ghostpdl package itself.
Was compiled properly?

Was properly installed?

Is pcl6 binary runnable?

Is pcl6 binary in PATH in dosemu environment? (when no, you can specify
absolute path, e.g. $_lpt1='/my/path/pcl6 ...

You should probably in this phase tune both things, dosemu and
pcl6/ghostpdl, separately:

1) in dosemu.conf lpt specification configure output to normal file:

$_lpt1='cat >/tmp/x.pcl'

and verify that file "/tmp/x.pcl" is rightly created and is in PCL format.


2) verify that pcl6 command work right by manually creating postscript
file from previous PCL:

pcl6 -sDEVICE=pswrite -sPAPERSIZE=a4 -sOutputFile=x.ps x.pcl

and again verify that file "/tmp/x.pcl" is rightly created and is in
postscript format


3) verify this postscript file printing:

lpr -P Laserprinter x.ps


When all this steps works, You can set final "$_lpt1='....'" command in
dosemu.conf, as you have now.

!!ATTENTION!! Sorry for mistake in all my previous mails: I incorrectly
specify "-sDEVICE=" parameter to "pdfwrite", which is obviously bad (I
clipboard copy this from my cfg, where I use pcl6 to create PDF
documents from DOS print output).
Right parameter value should be "pswrite":

$_lpt1='pcl6 -sDEVICE=pswrite -dNOPAUSE -sPAPERSIZE=a4
-sOutputFile="|lpr -P YourPrinter1" -'

FH

  reply	other threads:[~2010-11-27 17:44 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-18 23:18 printing Vedran Vucic
2010-11-18 23:52 ` printing Ivan Baldo
2010-11-19  0:02   ` printing Vedran Vucic
2010-11-19  0:14     ` printing Ivan Baldo
     [not found]       ` <AANLkTin8-qGJ12--1RdfPT-sFB9=dS6Qx11SayLUda+a@mail.gmail.com>
2010-11-20 12:49         ` printing Ivan Baldo
2010-11-20 20:38           ` printing Vedran Vucic
2010-11-22 11:17             ` printing Paul Crawford
     [not found]           ` <AANLkTimV3u_wcGxv+p=aBRqEtkfgyXpkgiTS8H3srAWC@mail.gmail.com>
2010-11-22 23:32             ` printing Ivan Baldo
2010-11-22 23:54               ` printing Mike McCarty
2010-11-23  7:30               ` printing Vedran Vucic
2010-11-23  8:54                 ` printing Andrew Joakimsen
2010-11-23 18:36                   ` printing Vedran Vucic
2010-11-23 19:58                     ` printing Mike McCarty
2010-11-23 22:48                       ` printing Vedran Vucic
2010-11-26  1:15                         ` printing Andrew Joakimsen
2010-11-26  7:56                           ` printing Vedran Vucic
2010-11-26 10:31                             ` printing Frantisek Hanzlik
2010-11-27  7:42                               ` printing Vedran Vucic
2010-11-27 15:44                                 ` printing Frantisek Hanzlik
2010-11-27 16:10                                 ` printing Frantisek Hanzlik
2010-11-27 16:37                                   ` printing Vedran Vucic
2010-11-27 17:44                                     ` Frantisek Hanzlik [this message]
2010-11-27 18:53                                       ` printing Vedran Vucic
2010-11-27 20:08                                         ` printing Frantisek Hanzlik
2010-11-27 21:12                                           ` printing Vedran Vucic
2010-11-28  2:20                                             ` printing Frantisek Hanzlik
2010-11-29  6:10                                               ` printing Vedran Vucic
2010-11-29  7:09                                                 ` printing Frantisek Hanzlik
2010-11-19  7:11 ` printing Andrew Joakimsen
2010-11-19 11:35   ` printing Vedran Vucic
2010-11-29 18:39 ` printing Ken Heard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CF1436E.9050803@hanzlici.cz \
    --to=franta@hanzlici.cz \
    --cc=linux-msdos@vger.kernel.org \
    --cc=vedran.vucic@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox