printing probl. on unix-mashine with gs 
Author Message
 printing probl. on unix-mashine with gs

Hi,

I have the following probleme.When I execute the following line
/usr/local/bin/gs -q -sDEVICE=laserjet -sOutputFile=\|"lp -dpsav" -dNOPAUSE
-sPAPERSIZE=a4 -- gslp.ps -fCourier-Bold10 -B /tmp/toto.txt

every things works just fine.

Now I tryed this:
PRINTER="\"lp -dpsav"\"

/usr/local/bin/gs -q -sDEVICE=laserjet -sOutputFile=\|$PRINTER -dNOPAUSE -sP
APERSIZE=a4 -- gslp.ps -fCourier-Bold10 -B /tmp/toto.txt

and now my document if printed on the default printer and not on psav.

Can somebody give me a hint ?

Thanks in advance

Ralf



Sun, 14 Apr 2002 03:00:00 GMT  
 printing probl. on unix-mashine with gs

[...]

Quote:
> every things works just fine.

> Now I tryed this:
> PRINTER="\"lp -dpsav"\"

> /usr/local/bin/gs -q -sDEVICE=laserjet -sOutputFile=\|$PRINTER -dNOPAUSE -sP
> APERSIZE=a4 -- gslp.ps -fCourier-Bold10 -B /tmp/toto.txt

It should work with a little modification. Try:

PRINTER="lp -dpsav"
/usr/local/bin/gs -q -sDEVICE=laserjet -sOutputFile=\|"$PRINTER" -dNOPAUSE -sPAPERSIZE=a4 -- gslp.ps -fCourier-Bold10 -B /tmp/toto.txt

--

Vienna, Austria, Europe                 http://www.fzk.at



Mon, 15 Apr 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. GS. PS to FaxG3 converting probl.

2. access to remote mashine.

3. GS 4 gives worse bitmap printing than GS 3.5

4. Problems compiling gs 5.10 on Digital Unix 4.0d

5. Problem with viewing PS via GS Unix

6. gs-4.03 unix-lpr problem

7. gs make file for deac alpha unix osf/1 3.1

8. ghostview + gs + PDF BROKEN (Unix)

9. Printing Mac->Unix->LaserWriter

10. Problem with printing Post script from UNIX

11. How to print directly to a pdf-printer in unix

12. Unix print driver to spool postscript to eps conversion

 

 
Powered by phpBB® Forum Software