It's Possible Printing Postscript Documents with lpr (linux) or print command ( windows)?

It's Possible Printing Postscript Documents with lpr (linux) or print command ( windows)?

Post by Mr X » Fri, 11 Jan 2002 21:39:25



Dear all,
It's possible to print postscript ( *.ps ) with lpr command under Linux
or print command under Windows?
It's not compatible with print command under windows, it's possible to convert
*.ps into *.prn so i can print it under windows.
 
 
 

It's Possible Printing Postscript Documents with lpr (linux) or print command ( windows)?

Post by Lew Pitch » Fri, 11 Jan 2002 22:07:30



Quote:>Dear all,
>It's possible to print postscript ( *.ps ) with lpr command under Linux

Yes, certainly. Depending on your distribution, and your personal preferences,
your printer setup will include one of the many print filter packages. These
print filter packages take the responsibility for co-ordinating printing, and
usually (for postscript data) invoke the GhostScript interpreter under the
covers. You feed postscript to the spooling software, and it (through
Ghostscript) converts it to the proper format to print on your printer.

Quote:>or print command under Windows?

Only if you have a postscript interpreter or postscript-compatable printer on
your Windows system. If you are using a Samba share as your windows printer, you
can (usually) configure the windows printer as one of the postscript printers,
and print to it that way.

Quote:>It's not compatible with print command under windows,

Not entirely true, but I'll let that pass...

Quote:> it's possible to convert *.ps into *.prn so i can print it under windows.

Don't know about that, but you _can_ convert it to a PDF (using the Linux ps2pdf
command) and use Adobe Acrobat to print the PDF on your Windows box.

Lew Pitcher
IT Consultant, Development Services
Toronto Dominion Bank Financial Group

(Opinions expressed are my own, not my employers')

 
 
 

It's Possible Printing Postscript Documents with lpr (linux) or print command ( windows)?

Post by Dances With Cro » Sat, 12 Jan 2002 09:34:12


On Thu, 10 Jan 2002 13:07:30 GMT, Lew Pitcher staggered into the Black
Sun and said:


>> it's possible to convert *.ps into *.prn so i can print it under
>> windows.

> Don't know about that, but you _can_ convert it to a PDF (using the
> Linux ps2pdf command) and use Adobe Acrobat to print the PDF on your
> Windows box.

Ever taken a look at a .PRN file under Windoze?  All the ones I've seen
have been PostScript files with the "wrong" filename extension.  If you
rename the file, you should be able to do whatever it is that you do
with a .PRN file under 'Doze to get it to print.  Alternatively,
GhostScript for Windows will take .PS files and print them.

--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /
http://www.brainbench.com     /  "He is a rhythmic movement of the
-----------------------------/    penguins, is Tux." --MegaHAL

 
 
 

It's Possible Printing Postscript Documents with lpr (linux) or print command ( windows)?

Post by michael james obri » Sat, 12 Jan 2002 14:44:35


: Dear all,
: It's possible to print postscript ( *.ps ) with lpr command under Linux
: or print command under Windows?

Most linux distributions give you tools to set up your printer with
ghostscript.  When you type lpr, the postscript file is converted into
your printer's native language.

You can set up the same deal in windows by using RedMon and ghostscript
for windows.

: It's not compatible with print command under windows, it's possible to convert
: *.ps into *.prn so i can print it under windows.

 
 
 

It's Possible Printing Postscript Documents with lpr (linux) or print command ( windows)?

Post by Ronald Col » Tue, 15 Jan 2002 08:31:22




> : Dear all,
> : It's possible to print postscript ( *.ps ) with lpr command under Linux
> : or print command under Windows?

> Most linux distributions give you tools to set up your printer with
> ghostscript.  When you type lpr, the postscript file is converted into
> your printer's native language.

I've been having problems with TeX and postscript...  I have an hp890c
connected to a Windows box and have configured my RHL7.1 with
printtool to access it via samba.  Now, if I*testpage.tex and
dvips the .dvi file and then print the .ps file, the top half-inch
goes bye-bye.  However, ghostview shows the page un*erated.  If I
use the -O option to dvips to try to generate a half-inch offset, then
ghostview displays a blank page and nothing at all prints.

I'm going to try converting the .ps file to .pdf with ps2pdf and
try printing the file from Acrobat on Windows, but I'd obviously like
to avoid such "drastic" solutions.

Anybody got any ideas on how to convince RHL7.1 to give me back the
top half-inch of my documents?

--
Forte International, P.O. Box 1412, Ridgecrest, CA  93556-1412

President, CEO                             Fax: (760) 499-9152
My GPG fingerprint: C3AF 4BE9 BEA6 F1C2 B084  4A88 8851 E6C8 69E3 B00B

 
 
 

It's Possible Printing Postscript Documents with lpr (linux) or print command ( windows)?

Post by Bill Unr » Tue, 15 Jan 2002 13:02:07





]> : Dear all,
]> : It's possible to print postscript ( *.ps ) with lpr command under Linux
]> : or print command under Windows?
]>
]> Most linux distributions give you tools to set up your printer with
]> ghostscript.  When you type lpr, the postscript file is converted into
]> your printer's native language.

]I've been having problems with TeX and postscript...  I have an hp890c
]connected to a Windows box and have configured my RHL7.1 with
]printtool to access it via samba.  Now, if I*testpage.tex and
]dvips the .dvi file and then print the .ps file, the top half-inch
]goes bye-bye.  However, ghostview shows the page un*erated.  If I
]use the -O option to dvips to try to generate a half-inch offset, then
]ghostview displays a blank page and nothing at all prints.

The problem is that tex is set up for A4, not letter. A4 is longer than letter and it comes off
the top.

Run the following (exactly as written with the line breaks)

echo '
% Make letter the default paper size
t letter' >>/usr/share/texmf/dvips/config/config.ps

 
 
 

It's Possible Printing Postscript Documents with lpr (linux) or print command ( windows)?

Post by Nico Kadel-Garci » Tue, 15 Jan 2002 13:16:12







> ]> : Dear all,
> ]> : It's possible to print postscript ( *.ps ) with lpr command under
Linux
> ]> : or print command under Windows?
> ]>
> ]> Most linux distributions give you tools to set up your printer with
> ]> ghostscript.  When you type lpr, the postscript file is converted into
> ]> your printer's native language.

> ]I've been having problems with TeX and postscript...  I have an hp890c
> ]connected to a Windows box and have configured my RHL7.1 with
> ]printtool to access it via samba.  Now, if I*testpage.tex and
> ]dvips the .dvi file and then print the .ps file, the top half-inch
> ]goes bye-bye.  However, ghostview shows the page un*erated.  If I
> ]use the -O option to dvips to try to generate a half-inch offset, then
> ]ghostview displays a blank page and nothing at all prints.

> The problem is that tex is set up for A4, not letter. A4 is longer than

letter and it comes off

Quote:> the top.

Oh, sheesh, this problem. There is also a "dvips" option to correct this,
and a set of "texconfig" commands to change the TeX defaults stored in the
texmf settings.

And people at MIT wonder why no one likes TeX...

 
 
 

1. printing postscript with 'LPR'

Would ANYBODY know what is happening here.
I am unable to print a postscript file when I use the 'lpr'
command; either from the command line or from within a program
such as Mosaic, Netscape, or Ghostview. I have been able to
convert a postscript file and print it using these two commands:

'gs -sDEVICE=epson -sOutputFile=tiger.ps tiger.epson'
'cat tiger.epson > /dev/lp0'

But if I try to print a postscript file, or a converted file,
with 'lpr' my printer output is just the codes. I have an input
filter which is reffered to in my 'printcap' file. The filter is

'/usr/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=epson- -sOutputFile=-'

But 'lpr' still just prints codes.

Any suggestions ?

Totally bewildered,

--
   Eric Trimmer

2. NiceTry remote

3. printing postscript using 'LPR'

4. After install, get LI and nothing else

5. Linux:lpr printing on lp remote printing host

6. ibm MIB sub-agents for RS/6000

7. width and word wrap for documents printed with lpr?

8. non-ibm Xstations

9. lpr: unable to print file: client-error-document-format-not-supported

10. PostScript Document Printing Problem

11. How does one print postscript correctly via lpr?????

12. Printing Postscript to Epson using lpr??

13. Problem printing Sunsite Postscript documents...