Printing to a Win XP LPD Server from FreeBSD 5.4

aksis aksis at idea-anvil.net
Tue Sep 20 17:24:07 PDT 2005


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.


More information about the freebsd-questions mailing list