[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference unxa::cde

Title:CDE on Digital UNIXonment - CDE
Notice:CDE on Digital UNIX - for CDE on VMS, please see Note 1.3
Moderator:UNXA::SYSTEM
Created:Tue Nov 23 1993
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:660
Total number of notes:2674

609.0. "remote printing on unix" by GIDDAY::SCHWARZ () Mon Feb 24 1997 23:30

    G'day all,
    
    I have a customer who is having some problems printing using CDE on
    Digital Unix v4.0b.
    
    They have set up a printer as a remote printer. From the command line
    the files get queued and printed. If a file is dropped in the printer
    icon on the menu bar that file does not get queued.
    
    I have not been able to reproduce this problem on my system. Has anyone
    got any ideas where I should start looking for this problem?
    
    regards
    
    Kym Schwarz
    Unix support
    CSC Sydney
    
    
    ( X posted in digital_unix )
T.RTitleUserPersonal
Name
DateLines
609.1UNXA::BEUTENo good deed ever goes unpunished...Tue Feb 25 1997 13:378

	First, get familiar with Chapter 6 in the CDE Advanced Users and
	System Admin guide. Then try to sort out exactly what their
	printer configuration is. If this remote printer is not the
	"default" system printer, they need to do some more work to
	set up printing correctly.

609.2an exampleGIDDAY::SCHWARZTue Feb 25 1997 19:3552
    
    Thanks for the pointer to chapter 6 but can't see how it applies.
    
    They are having problems printing to *any* remote printer - it does not
    have to be the default printer.
    
    To reproduce the problem the customer:
    
    1) creates a print queue to a remote printer
    	The remote system does not have to exist
    	The remote print queue does not have to exist
    
    lp2|2|test2:\
            :lf=/usr/adm/lp2err:\
            :lp=:\
            :rm=resdfsdf:\
            :rp=rse:\
            :sd=/usr/spool/lpd2:
    
    2) from the command line attempt to print
    	lpr -P lp2 /etc/motd
    
    	lpc stat lp2
    lp2:
            printer is on remote host resdfsdf with name rse
            queuing is enabled
            printing is enabled
            1 entries in spool area
            no daemon present
    
     NOTE - the job was queued
    
    3) Using CDE drop a file onto the print icon. The print window comes up
    and lp2 is selected.
    
    lpc stat lp2 
    lp2:
            printer is on remote host resdfsdf with name rse
            queuing is enabled
            printing is enabled
            1 entries in spool area
            no daemon present
    
    
    NOTE: the new file has not entered the spool area
    
    The problem thus lies with CDE and is passing of the file to the spool
    area.
    
    Any ideas ?
    
    Kym
609.3can't reproduceUNXA::BEUTENo good deed ever goes unpunished...Wed Feb 26 1997 13:597
	Sorry, I just tried your 3 steps and I get both files queued to
	the remote print queue, can't reproduce this. Do any errors show
	up in $HOME/.dt/errorlog when the customer tries this?

	Chris