LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 10: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, 12:05 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
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, 02: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



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 09:57 AM
galeon + cups + postscript + epson + printer mattmatteh Linux - Software 0 09-30-2004 10:19 PM
postscript or line printer jmdlcar Slackware 1 06-04-2004 09:08 PM
Slackware 9.1 + cups + postscript printer ..how should I go about it linuxlah Slackware 6 02-17-2004 07:35 AM
Postscript Printer with duplexer flippah Linux - Software 0 08-09-2001 06:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:16 PM.

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
Open Source Consulting | Domain Registration