LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Re: printcap settings and windows printer

[ILUG] Re: printcap settings and windows printer

michael conry michael.conry at ucd.ie
Mon Sep 25 14:47:52 IST 2000


I did something similar myself, to allow me to print to the office
laserjet 5si from my linux box. I use apsfilter (and find it very good)
with SuSE linux which i also find good.
I would refer you to the link:
http://sdb.suse.de/sdb/en/html/fehr_druck_1.html
basically, they replace the if (input filter) from the printcap entry
with another little script of the form:
-----------------------[/usr/local/sbin/netzprint_lp8]------------
#!/bin/sh
/usr/lib/apsfilter/filter/aps-epson-a4-auto-color - $1 $2 $3 $4 $5 $6 $7

$8| \
/usr/local/sbin/smbprint $1 $2 $3 $4 $5 $6 $7 $8

This has the effect of sending what you want to print (say myfile.jpeg)
to the aps script, which converts into raw printer code via post-script.
This raw printer code is then sent to smbprint which feeds it to your
printer over the smb connection. There is also a small alteration to
smbprint recommended.
The configuration file with details like the server name, password, etc
are all located in a config file you put in the spool directory.

If this solves your problem (the link is good) then great. If you want
more detail, then mail and i will forward my scripts to you which should
sort things out. (or you could do like Conor says and put the printer on
your linux box and share to windows)
bye for now
mick





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell