Problems printing postscript on a non-postscript printer

Problems printing postscript on a non-postscript printer

Post by matl.. » Sun, 31 Dec 1899 09:00:00



I have RedHat 6.0 installed and a Cannon BJC210 printer.  I can print
out basic text using the lpr command, but when I try to do the same with
postscript files or print from any application, I have problems.  Half
the time the printer doesn't do anything, but I'm not exactly sure where
the data is being sent  (e.g. ghostview).  The rest of the time my
printer continually form feeds paper and doesn't print a thing.  Any
suggestions would be much appreciated as solving this problem will
greatly increase my productivity at home.

James

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Problems printing postscript on a non-postscript printer

Post by Gene Hesket » Sun, 31 Dec 1899 09:00:00


Unrot13 this;

Gene Heskett sends Greetings to matlikj ;

Quote:> I have RedHat 6.0 installed and a Cannon BJC210 printer.  I can
> print out basic text using the lpr command, but when I try to do the
> same with postscript files or print from any application, I have
> problems.  Half the time the printer doesn't do anything, but I'm
> not exactly sure where the data is being sent  (e.g. ghostview).
> The rest of the time my printer continually form feeds paper and
> doesn't print a thing.  Any suggestions would be much appreciated as
> solving this problem will greatly increase my productivity at home.

Did you install ghostscript, its fonts, and enscript when you installed
linux?  It uses ghostscript for the ripper when printing .ps and .pdf
files.

Cheers, Gene
--
  Gene Heskett, CET, UHK       |Amiga A2k Zeus040 50 megs fast/2 megs chip

                               |Buddha + 4 gig WDC drive, 525 meg tape
                               |Stylus Pro, EnPrint, Picasso-II, 17" vga
         RC5-Moo! 690kkeys/sec isn't much, but it all helps
email gene underscore heskett at iolinc dot net
--

 
 
 

Problems printing postscript on a non-postscript printer

Post by matl.. » Sun, 31 Dec 1899 09:00:00




> Unrot13 this;

> Gene Heskett sends Greetings to matlikj ;

> > I have RedHat 6.0 installed and a Cannon BJC210 printer.  I can
> > print out basic text using the lpr command, but when I try to do the
> > same with postscript files or print from any application, I have
> > problems.  Half the time the printer doesn't do anything, but I'm
> > not exactly sure where the data is being sent  (e.g. ghostview).
> > The rest of the time my printer continually form feeds paper and
> > doesn't print a thing.  Any suggestions would be much appreciated as
> > solving this problem will greatly increase my productivity at home.

> Did you install ghostscript, its fonts, and enscript when you
installed
> linux?  It uses ghostscript for the ripper when printing .ps and .pdf
> files.

> Cheers, Gene
> --
>   Gene Heskett, CET, UHK       |Amiga A2k Zeus040 50 megs fast/2 megs
chip


Seagate,CDROM,Multiface III

Quote:>                                |Buddha + 4 gig WDC drive, 525 meg tape
>                                |Stylus Pro, EnPrint, Picasso-II, 17"
vga
>          RC5-Moo! 690kkeys/sec isn't much, but it all helps
> email gene underscore heskett at iolinc dot net
> --

Yes, I have ghostscript 5.10-9mdk, ghostscript-fonts 5.10-4mdk and
enscript 1.6.1-9mdk installed on my computer.  I tried a few adjustments
and, though I don't think it changed anything, I noticed that there are
a few characters printed out on the left side of the paper.

Thanks, James

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Problems printing postscript on a non-postscript printer

Post by QuestionExchang » Sun, 31 Dec 1899 09:00:00


As root
1) run
     printtool
2) You will see a list of installed printers (maybe just one),
select the current printer and click 'Edit'
3) You will see a "Edit Local Printer Entry" window, under
which you should click the 'select' button next to the 'Input
Filter' entry
4) A 'Configure Filter' window will show up that allows you to
select a printer filter, which is required for sending non-text
(i.e. graphics, postscript mostly) jobs via Ghostscript drivers
to the printer.
Select Canon BJ-100/200/210/240, and also select a default
Resolution and Paper Size. For extra GS options, read the
ghostscript documentation in /usr/doc
5) Close all windows except the printtool window, select the
current printer, and from the TEST menu, select 'Print
Postscript Test Page' and wait for a printout.
If you don't get a printout in 5 minutes, go to the 'Configure
Filter' phase again and click the box 'Send EOF after job to
eject page'
The filter is necessary as it specifies a custom ghostscript
driver, in this case the BJ-100/200/210/240 to drive your
printer. Without the filter, you can print text since it simply
sends the ASCII code directly to the printer.
Quote:> I have RedHat 6.0 installed and a Cannon BJC210 printer.  I
can print
> out basic text using the lpr command, but when I try to do
the same with
> postscript files or print from any application, I have

problems

--
  This answer is courtesy of QuestionExchange.com
  http://www.questionexchange.com/showUsenetGuest.jhtml?ans_id=7139&cus...

 
 
 

Problems printing postscript on a non-postscript printer

Post by Ale » Sun, 31 Dec 1899 09:00:00



>Unrot13 this;

>Gene Heskett sends Greetings to matlikj ;

>> I have RedHat 6.0 installed and a Cannon BJC210 printer.  I can
>> print out basic text using the lpr command, but when I try to do the
>> same with postscript files or print from any application, I have
>> problems.  Half the time the printer doesn't do anything, but I'm
>> not exactly sure where the data is being sent  (e.g. ghostview).
>> The rest of the time my printer continually form feeds paper and
>> doesn't print a thing.  Any suggestions would be much appreciated as
>> solving this problem will greatly increase my productivity at home.

Have you got ghostscript installed on your system? If you have, try to print
a .ps file from command line, like this:

gs -sDEVICE=bj200 -sOutputFile=/dev/lp0 namefile.ps

I don't know if bj200 is the right driver for your printer. Read Ghostscript
documentation for additional drivers (bjc600, bjc800).

If you want to print Postscript files from lpr command, you also need to
install a filter like apsfilter; it has a menu driven installation and it
works great.

--

Alex

 
 
 

1. PRINTING POSTSCRIPT TO NON-POSTSCRIPT PRINTER - help...

hi everyone

i've been trying to get my printer(s) set up on my system and i am able
to print plain ascii onto both my epson (really old nasty thing that it
is) and my deskjet.. now, it would be much nicer (and less costly) if i
could print postscript to these non-postscipt printers so i found out
about ghostscript.  (i have actually got ghoscript 2.6.2 on my system
and read up on it.)

i found a very 'simple' (nothing is simply really is it? :-) ) pipeline
that was to print ps on a non-ps printer - ok me thinks so i try it out
using a ps doucment i found, and executed:
 gs -dSAFER -dNOPAUSE -sDEVICE=epson -sOutputFile= | lpr file.ps

i removed the 'filter' (the 'if') entry from /etc/printcap just to be
sure that what was going to be printed was the output of this file

however the printer output the 'lovely' ps as the ascii-ps code; ie
beginning the file with
 %!PS-Adobe-2.0
 ...
 %%EOF

(i actually viewed the ps file using ghostview and it is valid
postscript)

i also tried out a ps-printcap i found tat did the 'print ps on non-ps
printer' trick - here is the lsm entry
 Title:  ps-printcap
 Version: 1
 Entered-date: 22NOV95
 Description: printcap and filter: printing postscript on non-postscript
\
 printer + text as postscript Keywords: Postscript Printing text

 Maintained-by:
 Primary-site:
sunsite.unc.edu:/pub/Linux/system/Printing/ps-printcap.tgz

and the files in the tgz were:
 /etc/printcap
  lp: \
  :lp:lp=/dev/lp1: \
  :sd=/var/spool/lpd/lp: \
  :mx%0: \
  :if=/etc/filter: \
  :sh:

 /etc/filter
  #!/bin/sh
  # Set the PRINTER var to a "gs" device.
  # Try gs -h for a list of drivers

  #PRINTER=djet500 # original - changed to try out my epson
  #PRINTER=deskjet
  PRINTER=epson
  nenscript -ZB -p- | gs -q -sDEVICE=$PRINTER \
          -dA4 -dNOPAUSE \
   -dSAFER -sOutputFile=- -

i installed these and tried to print ascii text files but these were
unsuccessful.  (i have nenscript 1.13++ installed).  i even tried
  nenscript -ZB -p- | gs -q -sDEVICE=$PRINTER -dA4 -dNOPAUSE -dSAFER
-sOutputFile=- - | lpr

from the command line

can someone *please* tell me where i'm going wrong on this but even
better, can someone please give me information (or preferably send me)
for setting up their /etc/termcap and /etc/filter files for PRINTING
POSTSCIPT onto my NON-POSTSCRIPT printers which are:
 epson lq100 (told you it was really old and nasty!!!)
 hp 600

this would be a greate help for my work.  any help and advice will be
greatly appreciated and i'll definitely give you acknowledgement in my
work !!! (no hard cash i'm affraid - i'm still studying :-) )

cheers

ray

ps - can people cc their replies to me - thanks again

anyone who has viewed src code in 1up will know what a help it is to
have something that'll dump 2 or 4 (or even 6) pages of src code onto
one a4 page!!!

2. user mount of /dev/fd1

3. print postscript file to non-postscript printer

4. I want to learn UNIX - but for free.

5. Printing Postscript files on a NON-postscript printer

6. S3 864 + Sony Multiscan 15sf

7. RedHat 7.2, KDE printing postscript on non-postscript printers

8. Will the Hauppauge 495 (Theater version) work with bttv for DVR?

9. Printing postscript on non-postscript printers

10. Printing Postscript files on a NON-postscript printer

11. printing postscript to non-postscript printer?

12. HELP: Print PostScript file on Non-PostScript-Printer

13. Want to print PostScript to non PostScript printer