D-link Print Server not visible in openSUSE 11.4

My company has a windows workgroup. It works for what they need and I dont have to play with it.

The problem is, I have an HP LaserJet 1020 connected to a D-link that the manual says is connectable to Linux.

I am running opensuse 11.4 and I can see the workgroup and the other windows computers. But I cannot see the print server. I know its there, I can ping it at 192.168.18.100

Help!!!

Did you try going to YaST > Hardware > Printer > Print via a Network > Connection Wizard > Print via print Server Machine > Traditional Unix Server (LPR/LPD) and type in the IP address. Also look for the queue name from the D-Link Print Server documentation. Pressing ‘Test Connection’ should work. Then follow the wizard.

not so-oldcpu tried it…no joy.

tried
IP: 192.168.18.100
Queue Name: ps-142634-p1 also switched (to lp, with & without ps-142634-p1)
optional: lp also switched (to ps-142634-p1, with & without lp)

Connection possible to LPD port 515 on host ‘192.168.18.100’
Testing queue ‘ps-142634-p1’ on host ‘192.168.18.100’:
Queue ‘ps-142634-p1’ on host ‘192.168.18.100’ does not accept print jobs (queue may not exist or queueing disabled?)
Status of the queue ‘ps-142634-p1’ (possibly empty or not available):

same results. yes, its possible to LPD port 515 on host ‘192.168.18.100’ but…

The info that I have on the print server is nowhere to be found. Documentation in the series gives a way to connect in linux, BSD, SCO, SOLARIS, Red Hat, Apple.

It reads to me that you may have the wrong queue name. What is your reference for this queue name?

I was unable to locate a manual for the model of D-Link in English as I am in China, but the manual for any of the router with a single USB port in Engish was the same as what was depicted & described in the Chinese version I have. It appears to say there is a ‘generic’ Linux version, a BSD variant, an SCO variant, Solaris variant, Red Hat variant, and Apple.

While Red Hat is set to Networked UNIX (LPD) with a set ip address and a queue name of lp and then your to choose the printer brand & model, Apple is set to the same.

I have tried as you suggested the networked LPD, static ip 192.168.18.100 with queue names lp, lpd, ps-142634-p1

Linux

Printing Text Files form Unix

you could define a printer hp5l that prints to port PS-142634-P1, and a printer
hp5lt that prints to port PS-142634-P1_TEXT. Your graphics files could then be
printed to the hp5l printer, and “raw” text files could be printed to the hp5lt
printer.

BSD

For “flavors” of the Unix operating system derived from or related to the BSD
releases, such as SunOS 4.x, Linux, BSD/OS, FreeBSD, or NetBSD, you can use
the following procedure to enable users to print to a printer connected to your
D-LINK network print server:

  1. Log in as the superuser (root).
  2. Add an entry for the print server in the host’s /etc/hosts file, giving a hostname
    for the print server’s IP address. A line in /etc/hosts contains an IP address
    and one or more aliases for the host . For example:
      1. 40 ps-142634 ps-142634.dlink.com.tw
        If you use DNS (the Domain Naming Services protocol), you can add an address
        record entry to your DNS database for the print server.
  3. Create a spool directory for the printer:
    ◊ On SunOS systems, create the directory as a subdirectory of /var/spool,
    with the same name as the printer (e.g., /var/spool/hp5l ).
    ◊ On Linux systems, create the directory as a subdirectory of /user/spool
    /lp.
    ◊ On BSD/OS, FreeBSD, or NetBSD systems, create the directory as
    subdirectory of /var/spool.
  4. Change the owner and permissions of the directory so that it is owned and
    writable by group daemon, using the following commands:
    103
    chown bin.daemon /var/spool/hp5l
    chmod 775 /var/spool/hp5l
  5. Add an entry for the printer to /etc/printcap, similar to the following:
    hp5l:
    :lp=:sd=/var/spool/hp5l :mx#0:
    :rm=ps-142634:rp=ps-142634-p1:

SCO

To allow printing to a printer attached to your D-LINK network print server from a
SCO Unix System V/386 host.

  1. Login as the superuser (root).
  2. Add an entry for the print server in the host’s /etc/hosts file, giving a hostname
    for the print server’s IP address. A line in /etc/hosts contains an IP address
    and one or more aliases for the host. For example:
    202.39.74.40 ps-142634 ps-142634.dlink.com.tw
    If you use DNS (the Domain Naming Services protocol), you can add an address
    record entry to your DNS database for the print server.
  3. Change to the /dev directory, and issue the command
    mkdev rlp
  4. The script will ask:
    Do you want to install or delet remote printing (i/d/q)?
    Answer i and press Enter to continue.
  5. The script will ask:
    Do you want to change the remote printer description file
    /etc/printcap (y/n)?
    Answer y and press Enter to continue.
  6. The script will ask:
    Please enter the printer name (q to quit):
    Enter an alias for the printer on the local machine and press Enter. This name
    should be the same as the destination port name.
    106
  7. Answer r (remote printer) to the question
    Is printer a remote printer or a local printer (r/l)?
  8. When prompted with the question:
    Please enter the name of the remote host that printer is
    attached to:
    then enter the address of the D-Link print server. You can use the name you
    added to /etc/host in the step above.
  9. Confirm that your entries are correct.
    Is this correct? (y/n)
  10. Answer the question:
    Would you like this to be the system default printer? (y/n)
  11. When you are done adding remote printers, enter q for the printer name.
  12. Answer y to the question
    Do you want to start remote daemon now (y/n)?
    Once remote printing is set up, you can use the lp command to print jobs to the
    new printer. For more information, consult your SCO Unix documentation.

Solaris

To allow printing from a Sun Solaris workstation,

  1. Log in as the superuser (root).
  2. Add an entry for the print server in the host’s /etc/hosts file, giving a hostname
    for the print server’s IP address. A line in /etc/hosts contains an IP address
    and one or more aliases for the host . For example:
    202.39.74.40 ps-142634 ps-142634.dlink.com.tw
    If you use DNS (the Domain Naming Services protocol), you can add an address
    record entry to your DNS database for the print server.
  3. In OpenWindows, start the admintool program.
  4. Click on the Printer Manger icon.
  5. From the Edit menu, select Add Print, then Add Access to Remote Printer…
  6. Enter values for the fields as follow:
    ◊ Printer Name This field should contain the name of the printer port you wish
    to use. The field is case-sensitive.
    ◊ Printer Server This field should contain the IP address of the print server, or
    the alias name you added in step 2.
    ◊ Printer Server OS This field should be set to BSD.
  7. Confirm the addition.
  8. Optionally repeat the addition to add another printer for printing text files,
    with_TEXT appended to the port name.
    Once you have added the new printer, you can use the lp command to print files
    to the printer. Consult your Solaris documentation for details.

Red Hat

Printing from Red Hat Linux
Adding a Printer

  1. Click the printer icon at the bottom of the desktop.
  2. Since no printer is set up so far, a prompt appears asking to run the printer
    configuration tool.
  3. Click the OK button in the pop-up dialogue box to open the man Printer
    configuration tool menu. Note that to use the Printer configuration tool you
    must have root privileges, and to start the application you may also type the
    command: “redhat-config-printer”.
  4. Click the New button in the Printer configuration tool menu.
    Printer Configuration Tool menu
  5. The Add a new print queue menu appears, click Forward to continue.
  6. Enter a unique name for the printer in the Name text field. The printer name
    cannot contain spaces and must begin with a letter. The printer name may contain
    letters, numbers, dashes (-), and underscores (_). Optionally, enter a short
    description for the printer, which can contain spaces. Then click Forward to enter
    Queue type window.
  7. Select Networked UNIX (LPD) in the Select a queue type pull down menu,
    enter the IP address of the print server to which the printer is attached in Server
    field, and type the port name in queue field. Click Forward to select the type of
    printer.
  8. Select the printer model.
    If a printer has not been detected automatically, select the model from the list. You
    can manually select the name of the printer manufacturer from the Generic (click
    to select manufacturer) pull-down menu, and the printer model from the sub-list.
    Click Forward to continue.
  9. The last step is to confirm your printer configuration. Click Apply button to
    confirm or Back button to modify the configuration.
  10. Print a test page to make sure the printer is functioning properly. To print a test
    page, select the printer from the printer list, then select the appropriate test page
    from the Test drop-down menu.

Mac OS X Tiger (10.4)

Setting up Printing in Mac OS X Tiger (10.4)
NOTE: Mac OS printing is supported by Postscript printers only!
With Mac OS X Tiger (10.4), you can use Apple Talk, Bonjour, Internet Printing
Protocol (IPP), Line Printer Daemon (LPD), and HP Jet Direct-Socket printing
through Print Server.
Click on this icon in your Dock to open your System
Preferences window as below.
Click on the Network icon in System Preferences menu to view the menu below.
Select the Apple Talk tab in the Network menu. Check to select the Make Apple
Talk Active option. Click on the Apply Now button and close the menu. Apple
Talk is now active on the system. Now a printer can be added.
Adding a Printer
Use the Go menu at the top tool bar and select Applications option and find the
Utilities folder or open the Utilities folder directly in Go menu.
In the Utilities folder, find and select to open Printer
List window. If no printer has been set up on your Macintosh, you will be
prompted to add a printer. Click Add button on the pop-up dialogue box to open
Printer Browser window.
Mac OS X Tiger (10.4) supports five printing protocols:

  1. AppleTalk
  2. Bonjour
  3. Internet Printing Protocol (IPP)
  4. Line Printer Daemon (LPD)
  5. HP Jet Direct – Socket
    To add an Internet Printing Protocol enabled, Line Printer Daemon enabled or HP
    Jet Direct – Socket enabled printer, click on the button and follow the
    instructions to add an IP Printer beginning on “Adding an IP printer” session.
    AppleTalk-enabled or Bonjour-enabled
    Printers
    To add an AppleTalk-enabled or Bonjour-enabled printer, click on the
    button in the Printer Browser menu.
    Select the printer model from Printer Name list and Connection type in the
    Printer Browser menu. The printer name selected should be the same as that
    appearing listed in the Printer Server’s web manager. In the example here, the
    printer name is dlk-1A2AAA-U1. By default the Printer Browser will use the Auto
    Select for Print Using: to determine what printer configuration to use. This may
    also be manually selected in the Print Using drop-down menu by brand and
    model. Click the Add button to exit the Printer Browser window and implement
    the new setting.
    The printer that has just been added will show up in the Printer List menu, it
    might take a few seconds depending on network conditions. When the printer
    appears listed it is ready for use. Quite the Printer Setup Utility and start printing.
    Adding an IP Printer
    To add an Internet Printing Protocol enabled, Line Printer Daemon enabled or HP
    Jet Direct – Socket enabled printer, click on the IP Printer button in the Printer
    Browser window. Select the desired printing protocol from the Protocol
    drop-down menu.
    Type the IP Address of the printer, the name will appear in the Name field when
    the printer is found. The Printer Browser will indicate that it is verifying the
    address. If the printer is found, the Printer Browser will state “Valid and complete
    address” under the Address field.
    The printer utility is able to detect the printer and may automatically select the
    correct printer driver in the Print Using field. Or manually select the printer-maker
    from the Print Using drop-down menu, and then select the printer model from the
    scroll-down list, or select Generic PostScrip Printer option from the Print Using
    drop-down menu if the model is not listed. To implement the setting, click Add
    button.
    The setup procedures for these three printing protocols (Internet Printing Protocol
    (IPP), Line Printer Daemon (LPD), and HP Jet Direct – Socket) are basically the
    same. Illustrated examples are include below for the sake of reference.
    For set up LPD Printing:
  6. Enter the IP address of the print server to which the printer is attached in
    Address field.
  7. Type the port name in queue field.
    Click Add button after done the section of printer model in the Print Using
    drop-down menu.
    For set up IPP Printing:
  8. Enter the IP address of the print server to which the printer is attached in
    Address field. After that, type “: 80” or “: second port” if print server’s
    second port is enabled.
  9. Type the port name in queue field.
    Click Add button after done the section of printer model in the Print Using
    drop-down menu.
    For set up Socket Printing:
  10. Enter the IP address of the print server to which the printer is attached in
    Address field. After that, type “: 9100” for port 1, “: 9101” for port 2 or “:
    9102” for port 3.
  11. Keep the blank in queue field.
    Click Add button after done the section of printer model in the Print Using
    drop-down menu.
    When the Installable Options pop-up window shows up as below, click Continue
    button.
    The printer that has just been added will show up in the Printer List menu, it
    might take a few seconds depending on network conditions. When the printer
    appears listed it is ready for use. Quite the Printer Setup Utility and start printing.

and you have which version ? The Unix version ? or does one version satisfy all ?

that suggests “lp” should be the queue name you enter. But when I read the documentation you noted, I see no reference to “lp” being the queue name.

If one version of the print server satisfies all, then I note this:

Its interesting that it supports HP Jet Direct-Socket printing through the Print Server.

I was proposing to add the printer as a Traditional Unix Server (LPR/LPD) device. You need the correct queue name, else that will NOT work. But possibly this D-Link Print server supports more than that (looking at the Mac OS X Tiger section).

You could try going to YaST > Hardware > Printer > Print via a Network > Connection Wizard > Access Network Printer or Print Server Box via > TCP Port (App socket/JetDirect) and type in the IP address. Pressing ‘Test Connection’ might work. If so, then enter the printer manufacturer and then follow the wizard.

Note, I am assuming that 192.168.18.100 is NOT on a sublan/subnet, but rather is on the same ‘level’ LAN as your PC.

I managed to brute force hack the web access point for the D-Link router/printer hub.

I changed the settings to put the router in the same workgroup so I can at least see it. Also I set the DNS servers to those used for the lan, enabled uPnP, Mac Bonjour/Rendezvous, IPP printing with a port 631

I also saw under the Apple Talk USB link: dlk-0A066D-U1

Though it shows the printer type as LaserWriter PostScript Level:2 Fonts : Standard 35

Have rerun the setup for networked LPD both under Access Network Printer or Print Server Box via Line Printer Daemon (LPD) protocol & Traditional UNIX Server (LRP/LPD), added in the static IP, tested the connection, in traditional UNIX Server (LRP/LPD) used the queue name dlk-0A066D-U1 and got an OK response. Then backed up to Line Printer Daemon (LPD) protocol static IP , queue name was LPT1 so I added the dlk-0A066D-U1 to Optional and got an OK response.

Picked Print Server Box via Line Printer Daemon (LPD) protocol as it was the current profile. Selected HP, clicked OK to go to the next page. Picked the laserjet model I have & chose the hpijs driver. Left the A4 Letter radio buttons alone as well as the ‘default printer’, Changed the arbitrary name to hp_hpijs_LJ1020 Clicked OK, it created new printer set up. Waited 3 minutes. Tried to print the test page. It failed. Checked the Log file.

this is the output

W [03/Jul/2011:17:37:46 +0800] [Job 27] Remote host did not respond with command status byte after 300 seconds!
D [03/Jul/2011:17:37:46 +0800] [Job 27] The following messages were recorded from 17:36:51 to 17:37:46
D [03/Jul/2011:17:37:46 +0800] [Job 27] Started backend /usr/lib/cups/backend/lpd (PID 20989)
D [03/Jul/2011:17:37:46 +0800] [Job 27] Page = 612x792; 18,14 to 594,778
D [03/Jul/2011:17:37:46 +0800] [Job 27] slow_collate=0, slow_duplex=0, slow_order=0
D [03/Jul/2011:17:37:46 +0800] [Job 27] Before copy_comments - %!PS-Adobe-3.0
D [03/Jul/2011:17:37:46 +0800] [Job 27] %!PS-Adobe-3.0
D [03/Jul/2011:17:37:46 +0800] [Job 27] %%BoundingBox: 0 0 612 792
D [03/Jul/2011:17:37:46 +0800] [Job 27] %%Pages: 1
D [03/Jul/2011:17:37:46 +0800] [Job 27] %%LanguageLevel: 1
D [03/Jul/2011:17:37:46 +0800] [Job 27] %%DocumentData: Clean7Bit
D [03/Jul/2011:17:37:46 +0800] [Job 27] %%DocumentSuppliedResources: procset testprint/1.3
D [03/Jul/2011:17:37:46 +0800] [Job 27] %%DocumentNeededResources: font Helvetica Helvetica-Bold Times-Roman
D [03/Jul/2011:17:37:46 +0800] [Job 27] %%Creator: Michael Sweet, Apple Inc. - adapted by openSUSE/Novell
D [03/Jul/2011:17:37:46 +0800] [Job 27] %%CreationDate: D:20090113092400+0800
D [03/Jul/2011:17:37:46 +0800] [Job 27] %%Title: Test Page
D [03/Jul/2011:17:37:46 +0800] [Job 27] %%EndComments
D [03/Jul/2011:17:37:46 +0800] [Job 27] Before copy_prolog - %%BeginProlog
D [03/Jul/2011:17:37:46 +0800] [Job 27] Before copy_setup - %%Page: 1 1
D [03/Jul/2011:17:37:46 +0800] [Job 27] Before page loop - %%Page: 1 1
D [03/Jul/2011:17:37:46 +0800] [Job 27] Copying page 1…
D [03/Jul/2011:17:37:46 +0800] [Job 27] pagew = 576.0, pagel = 763.2
D [03/Jul/2011:17:37:46 +0800] [Job 27] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792
D [03/Jul/2011:17:37:46 +0800] [Job 27] PageLeft = 18.0, PageRight = 594.0
D [03/Jul/2011:17:37:46 +0800] [Job 27] PageTop = 777.6, PageBottom = 14.4
D [03/Jul/2011:17:37:46 +0800] [Job 27] PageWidth = 612.0, PageLength = 792.0
D [03/Jul/2011:17:37:46 +0800] [Job 27] Wrote 1 pages…
D [03/Jul/2011:17:37:46 +0800] [Job 27] STATE: +connecting-to-device
D [03/Jul/2011:17:37:46 +0800] [Job 27] Looking up “192.168.18.100”…
D [03/Jul/2011:17:37:46 +0800] [Job 27] Copying print data…
D [03/Jul/2011:17:37:46 +0800] [Job 27] backendRunLoop(print_fd=-1, device_fd=6, snmp_fd=5, addr=0xb77c787c, use_bc=0, side_cb=0xb77bafd0)
D [03/Jul/2011:17:37:46 +0800] [Job 27] foomatic-rip version $Revision=3.0.2.131$ running…
D [03/Jul/2011:17:37:46 +0800] [Job 27] Parsing PPD file …
D [03/Jul/2011:17:37:46 +0800] [Job 27] Added option ColorSpace
D [03/Jul/2011:17:37:46 +0800] [Job 27] Added option Resolution
D [03/Jul/2011:17:37:46 +0800] [Job 27] Added option PageSize
D [03/Jul/2011:17:37:46 +0800] [Job 27] Added option Model
D [03/Jul/2011:17:37:46 +0800] [Job 27] Added option PrintoutMode
D [03/Jul/2011:17:37:46 +0800] [Job 27] Added option MediaType
D [03/Jul/2011:17:37:46 +0800] [Job 27] Added option InputSlot
D [03/Jul/2011:17:37:46 +0800] [Job 27] Added option Quality
D [03/Jul/2011:17:37:46 +0800] [Job 27] *cupsFilter: “application/vnd.cups-postscript 100 foomatic-rip-hplip”
D [03/Jul/2011:17:37:46 +0800] [Job 27] *cupsFilter: “application/vnd.cups-pdf 0 foomatic-rip-hplip”
D [03/Jul/2011:17:37:46 +0800] [Job 27] Added option PageRegion
D [03/Jul/2011:17:37:46 +0800] [Job 27] Added option ImageableArea
D [03/Jul/2011:17:37:46 +0800] [Job 27] Added option PaperDimension
D [03/Jul/2011:17:37:46 +0800] [Job 27] Added option Font
D [03/Jul/2011:17:37:46 +0800] [Job 27]
D [03/Jul/2011:17:37:46 +0800] [Job 27] Parameter Summary
D [03/Jul/2011:17:37:46 +0800] [Job 27] -----------------
D [03/Jul/2011:17:37:46 +0800] [Job 27]
D [03/Jul/2011:17:37:46 +0800] [Job 27] Spooler: cups
D [03/Jul/2011:17:37:46 +0800] [Job 27] Printer: hp_hpijs_LJ1020
D [03/Jul/2011:17:37:46 +0800] [Job 27] Shell: /bin/sh
D [03/Jul/2011:17:37:46 +0800] [Job 27] PPD file: /etc/cups/ppd/hp_hpijs_LJ1020.ppd
D [03/Jul/2011:17:37:46 +0800] [Job 27] ATTR file:

D [03/Jul/2011:17:37:46 +0800] [Job 27] Printer model: HP LaserJet 1020 hpijs, 3.11.5, requires proprietary plugin
D [03/Jul/2011:17:37:46 +0800] [Job 27] Job title: YaST2testprint_hp_hpijs_LJ1020
D [03/Jul/2011:17:37:46 +0800] [Job 27] File(s) to be printed:
D [03/Jul/2011:17:37:46 +0800] [Job 27] <STDIN>
D [03/Jul/2011:17:37:46 +0800] [Job 27]
D [03/Jul/2011:17:37:46 +0800] [Job 27] GhostScript extra search path (‘GS_LIB’): /usr/share/cups/fonts
D [03/Jul/2011:17:37:46 +0800] [Job 27] Pondering option ‘finishings=3’
D [03/Jul/2011:17:37:46 +0800] [Job 27] Unknown option finishings=3.
D [03/Jul/2011:17:37:46 +0800] [Job 27] Pondering option ‘number-up=1’
D [03/Jul/2011:17:37:46 +0800] [Job 27] Unknown option number-up=1.
D [03/Jul/2011:17:37:46 +0800] [Job 27] Pondering option ‘page-label=hp_hpijs_LJ1020:YaST2testprint@Charles’
D [03/Jul/2011:17:37:46 +0800] [Job 27] Unknown option page-label=hp_hpijs_LJ1020:YaST2testprint@Charles.
D [03/Jul/2011:17:37:46 +0800] [Job 27] Pondering option ‘job-uuid=urn:uuid:6d2bedb6-78aa-3efd-5abb-f750cac89ae0’
D [03/Jul/2011:17:37:46 +0800] [Job 27] Unknown option job-uuid=urn:uuid:6d2bedb6-78aa-3efd-5abb-f750cac89ae0.
D [03/Jul/2011:17:37:46 +0800] [Job 27] Pondering option ‘job-originating-host-name=localhost’
D [03/Jul/2011:17:37:46 +0800] [Job 27] Unknown option job-originating-host-name=localhost.
D [03/Jul/2011:17:37:46 +0800] [Job 27] Pondering option ‘time-at-creation=1309685811’
D [03/Jul/2011:17:37:46 +0800] [Job 27] Unknown option time-at-creation=1309685811.
D [03/Jul/2011:17:37:46 +0800] [Job 27] Pondering option ‘time-at-processing=1309685811’
D [03/Jul/2011:17:37:46 +0800] [Job 27] Unknown option time-at-processing=1309685811.
D [03/Jul/2011:17:37:46 +0800] [Job 27] Pondering option ‘AP_D_InputSlot=’
D [03/Jul/2011:17:37:46 +0800] [Job 27] Unknown option AP_D_InputSlot=.
D [03/Jul/2011:17:37:46 +0800] [Job 27]
D [03/Jul/2011:17:37:46 +0800] [Job 27] ================================================
D [03/Jul/2011:17:37:46 +0800] [Job 27]
D [03/Jul/2011:17:37:46 +0800] [Job 27] File: <STDIN>
D [03/Jul/2011:17:37:46 +0800] [Job 27]
D [03/Jul/2011:17:37:46 +0800] [Job 27] ================================================
D [03/Jul/2011:17:37:46 +0800] [Job 27]
D [03/Jul/2011:17:37:46 +0800] [Job 27] Reading PostScript input …
D [03/Jul/2011:17:37:46 +0800] [Job 27] → This document is DSC-conforming!
D [03/Jul/2011:17:37:46 +0800] [Job 27] Found: %RBINumCopies: 1
D [03/Jul/2011:17:37:46 +0800] [Job 27]
D [03/Jul/2011:17:37:46 +0800] [Job 27] -----------
D [03/Jul/2011:17:37:46 +0800] [Job 27] Found: %%BeginProlog
D [03/Jul/2011:17:37:46 +0800] [Job 27] Found: %%EndProlog
D [03/Jul/2011:17:37:46 +0800] [Job 27]
D [03/Jul/2011:17:37:46 +0800] [Job 27] -----------
D [03/Jul/2011:17:37:46 +0800] [Job 27] Found: %%BeginSetup
D [03/Jul/2011:17:37:46 +0800] [Job 27] Found: %%BeginFeature: *MediaType Plain
D [03/Jul/2011:17:37:46 +0800] [Job 27] Option: MediaType=Plain → Setting option
D [03/Jul/2011:17:37:46 +0800] [Job 27] Found: %% FoomaticRIPOptionSetting: MediaType=Plain
D [03/Jul/2011:17:37:46 +0800] [Job 27] Option: MediaType=Plain → Setting option
D [03/Jul/2011:17:37:46 +0800] [Job 27] Found: %%BeginFeature: *PageSize Letter
D [03/Jul/2011:17:37:46 +0800] [Job 27] Option: PageSize=Letter → Setting option
D [03/Jul/2011:17:37:46 +0800] [Job 27] Found: %% FoomaticRIPOptionSetting: PageSize=Letter
D [03/Jul/2011:17:37:46 +0800] [Job 27] Option: PageSize=Letter → Setting option
D [03/Jul/2011:17:37:46 +0800] [Job 27] Found: %%BeginFeature: *PrintoutMode Normal
D [03/Jul/2011:17:37:46 +0800] [Job 27] Option: PrintoutMode=Normal → Setting option
D [03/Jul/2011:17:37:46 +0800] [Job 27] Found: %% FoomaticRIPOptionSetting: PrintoutMode=Normal
D [03/Jul/2011:17:37:46 +0800] [Job 27] Option: PrintoutMode=Normal → Setting option
D [03/Jul/2011:17:37:46 +0800] [Job 27] Found: %%BeginFeature: *Quality FromPrintoutMode
D [03/Jul/2011:17:37:46 +0800] [Job 27] Option: Quality=FromPrintoutMode → Setting option
D [03/Jul/2011:17:37:46 +0800] [Job 27] Found: %% FoomaticRIPOptionSetting: Quality=@PrintoutMode
D [03/Jul/2011:17:37:46 +0800] [Job 27] Option: Quality=FromPrintoutMode → Setting option
D [03/Jul/2011:17:37:46 +0800] [Job 27] Found: %%EndSetup
D [03/Jul/2011:17:37:46 +0800] [Job 27] Inserting PostScript code for CUPS’ page accounting
D [03/Jul/2011:17:37:46 +0800] [Job 27]
D [03/Jul/2011:17:37:46 +0800] [Job 27] -----------
D [03/Jul/2011:17:37:46 +0800] [Job 27] New page: 1 1
D [03/Jul/2011:17:37:46 +0800] [Job 27]
D [03/Jul/2011:17:37:46 +0800] [Job 27] Found: %%BeginPageSetup
D [03/Jul/2011:17:37:46 +0800] [Job 27] Inserting option code into “PageSetup” section.
D [03/Jul/2011:17:37:46 +0800] [Job 27] Found: %%EndPageSetup
D [03/Jul/2011:17:37:46 +0800] [Job 27] End of page header
D [03/Jul/2011:17:37:46 +0800] [Job 27] Stopping search for page header options
D [03/Jul/2011:17:37:46 +0800] [Job 27] Found: lineto % Move there…
D [03/Jul/2011:17:37:46 +0800] [Job 27] → Output goes directly to the renderer now.
D [03/Jul/2011:17:37:46 +0800] [Job 27]
D [03/Jul/2011:17:37:46 +0800] [Job 27]
D [03/Jul/2011:17:37:46 +0800] [Job 27] Starting renderer
D [03/Jul/2011:17:37:46 +0800] [Job 27] Found: %%Trailer
D [03/Jul/2011:17:37:46 +0800] [Job 27] → Continue DSC parsing now.
D [03/Jul/2011:17:37:46 +0800] [Job 27]
D [03/Jul/2011:17:37:46 +0800] [Job 27] Found: %%Pages: 1
D [03/Jul/2011:17:37:46 +0800] [Job 27] → Continue DSC parsing now.
D [03/Jul/2011:17:37:46 +0800] [Job 27]
D [03/Jul/2011:17:37:46 +0800] [Job 27] Found: %%BoundingBox: 0 0 612 792
D [03/Jul/2011:17:37:46 +0800] [Job 27] → Continue DSC parsing now.
D [03/Jul/2011:17:37:46 +0800] [Job 27]
D [03/Jul/2011:17:37:46 +0800] [Job 27] Found: %%EOF
D [03/Jul/2011:17:37:46 +0800] [Job 27] → Continue DSC parsing now.
D [03/Jul/2011:17:37:46 +0800] [Job 27]
D [03/Jul/2011:17:37:46 +0800] [Job 27]
D [03/Jul/2011:17:37:46 +0800] [Job 27] Closing renderer
D [03/Jul/2011:17:37:46 +0800] [Job 27] renderer PID kid4=20995
D [03/Jul/2011:17:37:46 +0800] [Job 27] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -sDeviceManufacturer=“HEWLETT-PACKARD” -sDeviceModel=“HP LaserJet 1018” -r600 -sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:PenSet=0Plain,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- -
D [03/Jul/2011:17:37:46 +0800] [Job 27] JCL: <job data>
D [03/Jul/2011:17:37:46 +0800] [Job 27]
D [03/Jul/2011:17:37:46 +0800] [Job 27] Starting process 20996: “gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=6…”
D [03/Jul/2011:17:37:46 +0800] [Job 27] Error: This module is designed to work with HP Printers only
D [03/Jul/2011:17:37:46 +0800] [Job 27] prnt/hpijs/hpijs.cpp 268: unable to set device=HP LaserJet 1018, err=48
D [03/Jul/2011:17:37:46 +0800] [Job 27] prnt/hpijs/hpijs.cpp 289: unable to set device=HP LaserJet 1018, err=48
D [03/Jul/2011:17:37:46 +0800] [Job 27] prnt/hpijs/hpijs.cpp 694: unable to read client data err=-2
D [03/Jul/2011:17:37:46 +0800] [Job 27] Process 20996 ending: “gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=6…”
D [03/Jul/2011:17:37:46 +0800] [Job 27] renderer return value: 1
D [03/Jul/2011:17:37:46 +0800] [Job 27] renderer received signal: 1
D [03/Jul/2011:17:37:46 +0800] [Job 27] KID3 exited with status 3
D [03/Jul/2011:17:37:46 +0800] [Job 27] Renderer exit stat: 3
D [03/Jul/2011:17:37:46 +0800] [Job 27] Process dying with “Possible error on renderer command line or PostScript error. Check options.”, exit stat: 3
D [03/Jul/2011:17:37:46 +0800] [Job 27] error: No such file or directory (2)
D [03/Jul/2011:17:37:46 +0800] [Job 27] Cleaning up …
D [03/Jul/2011:17:37:46 +0800] [Job 27] Killing process 20995 (KID4) with signal 15
D [03/Jul/2011:17:37:46 +0800] [Job 27] Process dying with “Caught termination signal: Job canceled”, exit stat: 0
D [03/Jul/2011:17:37:46 +0800] [Job 27] error: (0)
D [03/Jul/2011:17:37:46 +0800] [Job 27] Cleaning up …
D [03/Jul/2011:17:37:46 +0800] [Job 27]
D [03/Jul/2011:17:37:46 +0800] [Job 27] Closing foomatic-rip.
D [03/Jul/2011:17:37:46 +0800] [Job 27] hrDeviceDesc=“Unknown”
D [03/Jul/2011:17:37:46 +0800] [Job 27] prtGeneralCurrentLocalization type is 5, expected 2!
D [03/Jul/2011:17:37:46 +0800] [Job 27] Killing process 20995 (KID4) with signal 9
D [03/Jul/2011:17:37:46 +0800] [Job 27]
D [03/Jul/2011:17:37:46 +0800] [Job 27] Closing foomatic-rip.
D [03/Jul/2011:17:37:46 +0800] [Job 27] Renderer process finished
D [03/Jul/2011:17:37:46 +0800] [Job 27] Process dying with “Error closing renderer”, exit stat: 3
D [03/Jul/2011:17:37:46 +0800] [Job 27] error: (0)
D [03/Jul/2011:17:37:46 +0800] [Job 27] Cleaning up …
D [03/Jul/2011:17:37:46 +0800] [Job 27] Killing process 20994 (KID3) with signal 15
D [03/Jul/2011:17:37:46 +0800] [Job 27] Killing process 20994 (KID3) with signal 9
D [03/Jul/2011:17:37:46 +0800] [Job 27] Error closing renderer
D [03/Jul/2011:17:37:46 +0800] [Job 27]
D [03/Jul/2011:17:37:46 +0800] [Job 27] Closing foomatic-rip.
D [03/Jul/2011:17:37:46 +0800] [Job 27] STATE: +connecting-to-device
D [03/Jul/2011:17:37:46 +0800] [Job 27] Looking up “192.168.18.100”…
D [03/Jul/2011:17:37:46 +0800] [Job 27] Connecting to 192.168.18.100:515 for printer LPT1
D [03/Jul/2011:17:37:46 +0800] [Job 27] Connecting to printer…
D [03/Jul/2011:17:37:46 +0800] [Job 27] STATE: -connecting-to-device
D [03/Jul/2011:17:37:46 +0800] [Job 27] Connected to printer…
D [03/Jul/2011:17:37:46 +0800] [Job 27] Connected to 192.168.18.100:515 (IPv4) (local port 1023)…
D [03/Jul/2011:17:37:46 +0800] [Job 27] lpd_command 02 LPT1
D [03/Jul/2011:17:37:46 +0800] [Job 27] Sending command string (6 bytes)…
D [03/Jul/2011:17:37:46 +0800] [Job 27] Reading command status…
D [03/Jul/2011:17:37:46 +0800] [Job 27] lpd_command returning 0
D [03/Jul/2011:17:37:46 +0800] [Job 27] Control file is:
D [03/Jul/2011:17:37:46 +0800] [Job 27] HCharles.site
D [03/Jul/2011:17:37:46 +0800] [Job 27] Proot
D [03/Jul/2011:17:37:46 +0800] [Job 27] JYaST2testprint_hp_hpijs_LJ1020
D [03/Jul/2011:17:37:46 +0800] [Job 27] ldfA989Charles.site
D [03/Jul/2011:17:37:46 +0800] [Job 27] UdfA989Charles.site
D [03/Jul/2011:17:37:46 +0800] [Job 27] NYaST2testprint_hp_hpijs_LJ1020
D [03/Jul/2011:17:37:46 +0800] [Job 27] lpd_command 02 124 cfA989Charles.site
D [03/Jul/2011:17:37:46 +0800] [Job 27] Sending command string (24 bytes)…
D [03/Jul/2011:17:37:46 +0800] [Job 27] Reading command status…
D [03/Jul/2011:17:37:46 +0800] [Job 27] lpd_command returning 2
D [03/Jul/2011:17:37:46 +0800] [Job 27] Backend returned status 1 (failed)
D [03/Jul/2011:17:37:46 +0800] [Job 27] Printer stopped due to backend errors; please consult the error_log file for details.
D [03/Jul/2011:17:37:46 +0800] [Job 27] End of messages
D [03/Jul/2011:17:37:46 +0800] [Job 27] printer-state=5(stopped)
D [03/Jul/2011:17:37:46 +0800] [Job 27] printer-state-message=“Remote host did not respond with command status byte after 300 seconds!”
D [03/Jul/2011:17:37:46 +0800] [Job 27] printer-state-reasons=paused

What happens if you remove the ‘underscores’ from the arbitrary name from “hp_hpijs_LJ1020” to simply “HPLJ1020” ? Same thing ?

Also, what happens if you try a generic post script driver (as I think this is a post script printer ) ?

Which Version. openSUSE 11.4 KDE

The “lp” in question was in an image file in the manual. I had no idea if that was or was not to be used so I tried it with & without it. no joy either way.

The HP DirectJet was set to * so I tried it, then as when I tested the connection it wouldn’t connect, I gave it the static IP. no joy the mac address I had for it when it was set to * so I changed it to 00:26:5a:0a:06:6d retest no joy tried the name of the router as it is in the workgroup no joy reset it to *

I saw dlk-0A066D-U1 also in the Apple section, but it was not clear to me that would be the queue name for Linux.

Is your printer a post script printer ? If so, then my guess is that could be fine.

ok, then that is the queue name ! (as you have noted other names do not work ! ).

Did you try an arbitrary name without underscores ?

If I set either LPD (via box or traditional UNIX) I can plug in the static IP, the queue name seems to be dlk-0A066D-U1 to get an OK. Under Traditional I left it at RAW and no joy. Under via box, I selected generic, set generic postscript level 1 printer foomatic, left the arbitrary name generic. no joy. Did another under via box, same as before but set it to generic postscript level 2 printer foomatic, arbitrary name generic_1 was default so I left it. no joy. One more time…set it to Generic PLC LaserPrinter, arbitrary name generic_2. no joy. 3rd times a charm right… generic postscript printer, arbitrary name generic_3. no joy.

IMHO you need to use that queue name.

Try WITHOUT an underscore in the arbitrary name.

Maybe my native english is not good ? I can NOT tell from reading your post that you tried that.

Anyway, I’ve gone as far as I can in helping here.

Someone else will need to chime in, and I’m going back to lurker status.

with & without. generic1~8, 4 on via box - no joy, 4 on traditional unix - no joy.

I don’t know which D-Link model you have, but I was able to find clear information regarding many of the unknowns you’re dealing with in several of the various manuals that can be found [here](http://www.dlink.com/search/?qry=print server).

lovely site. perfect for XP, ME, 2000 Manual for D-link DP-301p+ says to configure it for linux…‘please see your PS Admin Manual on the CD included with your DP-301p+ for information on setting up the print server in Linux/Unix.’ Um, mine is in Chinese as I am in China and I have done just about everything. I am wondering if opening the hosts file in /etc/host and adding in the line 192.168.18.100 dlk-0A066D-U1 dlk-0A066D-U1.dlink.com.tw would do any worse???

I wonder if you’ve been given misleading information regarding the usefulness of The PS Admin Manual for a Linux based setup if the following is true (per D-Link website page describing the dp-30x series):

“…PS Admin, a Windows-based configuration program can also be used to configure…”

Sorry I can’t be more helpful.

Regarding the web based interface. With it I was able to get the print server in the same workgroup as everyone else. I also was able to enable all the other possible ways to connect to it.

Still, I could not for the life of me connect to it and print 1 test page after creating 89 attempts. So, I pulled it out, unplugged it, stuffed it back in the box and got my money back.