Printing to a Win XP LPD Server from FreeBSD 5.4

Ted Mittelstaedt tedm at toybox.placo.com
Thu Sep 22 16:34:27 PDT 2005


Why are you wasting your time when you can buy USB or parallel port
hardware print servers so cheap and print to the print server from both
XP and BSD.  The electricity you save by not having to turn on
the XP system when you want to print should be more than enough
to pay for the server in a year.

Ted

>-----Original Message-----
>From: owner-freebsd-questions at freebsd.org
>[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of aksis
>Sent: Tuesday, September 20, 2005 5:24 PM
>To: freebsd-questions at freebsd.org
>Subject: Printing to a Win XP LPD Server from FreeBSD 5.4
>
>
>Hi,
>
>I am having a problem printing to a WinXP (home edition) LPD
>Server. The
>command:
>
>lptest | lpr -P lp-test
>
>print's to the printer successfuly.
>
>lpr -P lp test.ps
>
>doesn't print anything, but it is sending to the server (see below).
>
>I have tried cups. I have the exact ppd file (ML-1740spl2.ppd)
>for the samsung ML-1740 printer, and on the web admin page it shows the
>printer is idle and accepting jobs, the jobs get sent, and it
>even sounds
>like its getting ready to print...... yet nothing gets printed. :-(
>
>Also kprint (the goal of the whole thing) won't print anything,
>not even using
>the working 'lp-test' printcap entry. Nor do any of the "test
>printer" pages
>get printed, though they are getting spooled on the XP server.
>
>I spent 20+ hours yesterday trying to get this working, but am
>in need of some
>guidance on this.
>
>Is anyone successfuly printing to a XP LPD server?
>
>No I can't hang the printer off the freebsd box. I wish....
>
>Here is the system info (if more is need let me know):
>
>FreeBSD 5.4-RELEASE-p7 #1: Fri Sep 16 21:17:44 MST 2005
>
>#################### /etc/printcap ##################
># APS1_BEGIN:printer1
># - don't delete start label for apsfilter printer1
># - no other printer defines between BEGIN and END LABEL
>lp|PSgs;r=600x600;q=high;c=gray;p=letter;m=auto:\
>    :lp=:\
>    :rm=10.0.0.80:\
>    :rp=printer:\
>    :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
>    :sd=/var/spool/lpd/lp:\
>    :lf=/var/spool/lpd/lp/log:\
>    :af=/var/spool/lpd/lp/acct:\
>    :mx#0:\
>    :sh:
># APS1_END - don't delete this
>
># working entry
>lp-test:\
>        :sh:\
>        :rm=10.0.0.80:\
>        :rp=printer:\
>        :sd=/var/spool/output/10.0.0.80:\
>        :lf=/var/log/lpd-errs:
>
>############### command output ########################
>
>[aksis at vaio.idea-anvil.net:~/Desktop]:$ lpr test.ps
>[aksis at vaio.idea-anvil.net:~/Desktop]:$ lpq
>vaio.idea-anvil.net: sending to 10.0.0.80
>Rank   Owner      Job  Files                                 Total Size
>1st    aksis      15   test.ps                               57293 bytes
>
>
>                         Windows XP LPD Server
>                              Printer \\10.0.0.80\printer
>
>Owner       Status         Jobname          Job-Id    Size
>Pages  Priority
>----------------------------------------------------------------
>------------
>[aksis at vaio.idea-anvil.net:~/Desktop]:$ lpq
>
>                         Windows XP LPD Server
>                              Printer \\10.0.0.80\printer
>
>Owner       Status         Jobname          Job-Id    Size
>Pages  Priority
>----------------------------------------------------------------
>------------
>aksis (10.0 Printing  test.ps                 45   2663885      0      1
>
>##################### end #############################
>
>But nothing gets printed.
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"freebsd-questions-unsubscribe at freebsd.org"
>
>--
>Internal Virus Database is out-of-date.
>Checked by AVG Anti-Virus.
>Version: 7.0.344 / Virus Database: 267.10.18/86 - Release Date:
>8/31/2005
>



More information about the freebsd-questions mailing list