LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 10-29-2006, 11:55 AM   #1
HarPaX
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Rep: Reputation: 15
Postscript Printer Redirect on Linux


I have a HP Color Laserjet 3500 printer which I would like to share with my windows machines via samba. The printer is set up and works fine on Linux, as well as over the network with windows XP 32-bit. My issue is that HP does not make a driver for this printer for Windows XP 64-bit which I run on my primary computer, and so I cannot print to this printer on that computer.

A while back I had this printer connected to a PC running windows xp 32bit and found a how-to that explained how to create a pseudo postscript printer and redirect it using ghostscript and redmon. This generic postscript printer could then be shared regardless of OS or drivers. I need to do the same thing again, but this time on Linux and I don't know how!

Though reasarch, I have a bit of a feel for what commands need to run (ghostscript, lp etc.) but I have no idea how to put it togeather into a postscript printer that I can simply print to.

This system is running Fedora Core 6, which uses the CUPS printing system.

Thanks!
 
Old 10-29-2006, 01:05 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,152

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
This could be a good starting point. Basically you would use any generic postcript printer in windows to use your fake printer. The myprint command would take the ps spooled file, convert it to a pdf file and then print it using the lpr command to the HP.

http://www.lesbell.com.au/Home.nsf/b...1?OpenDocument
 
Old 10-29-2006, 03:24 PM   #3
HarPaX
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks! I got this to work. For some reason I couldn't get ghostscript to do what I wanted, but I just used that example to generate a pdf and wrote a little script to send it to the printer via cups and clean up. It takes a little longer due to the need to generate a pdf, but that's not really a issue for me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
printer: application/postscript dramen Linux - Hardware 5 05-07-2005 10:57 AM
galeon + cups + postscript + epson + printer mattmatteh Linux - Software 0 09-30-2004 11:19 PM
postscript or line printer jmdlcar Slackware 1 06-04-2004 10:08 PM
Slackware 9.1 + cups + postscript printer ..how should I go about it linuxlah Slackware 6 02-17-2004 08:35 AM
Postscript Printer with duplexer flippah Linux - Software 0 08-09-2001 07:38 AM


All times are GMT -5. The time now is 09:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration