To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=116918
                 Issue #|116918
                 Summary|more info on -pt option goes to default printer 
               Component|framework
                 Version|OOo 3.3
                Platform|HP
                     URL|
              OS/Version|Windows XP
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|tm
             Reported by|mainframerz13





------- Additional comments from mainframer...@openoffice.org Thu Feb 10 
19:28:14 +0000 2011 -------
My objective is to automate printing from a Windows platform using IPP and SMB 
printers.  To do this I want to issue command line print requests.  Windows 
command line Print and LPR commands will not wortk with IPP and SMB so I am 
looking at using an OpenOffice command line request with the -pt option.  

On a Windows XP SP3 platform I submitted a command line print request using 
the -pt option:  
   soffice -pt "printer-name"  "C:\test_files\worddoc.doc" 
   or 
   soffice -writer -pt "printer-name"  "C:\test_files\worddoc.doc"
The document was always printed on the default printer.

I have seen many issues similar to or exactly like this one in the OpenOffice 
Issue Tracker.  For example issue 41953 is exactly like the one I have now 
except it was opened in 2005 on OOo 1.1.9.  I believe that problem still 
exists in OOo 3.3.

Experimenting a little I tried other printer types (Local and Network) and 
discovered the following:

Specified        Default printer  Output Printed  Chose which
Printer-name     name             on ...          Printer?
---------------  ---------------  --------------  ----------
IPP1 (Network)   LPT1x(Local)     LPT1x(Local)    Default
IPP2 (Network)   IPP1x(Network)   IPP1x(Network)  Default
IPP1 (Network)   IPP1x(Network)   IPP1x(Network)  Default (maybe)
IPP1 (Network)   PM1  (Local)     PM1  (Local)    Default

SMB1 (Network)   LPT1x(Local)     LPT1x(Local)    Default
SMB2 (Network)   SMB1 (Network)   SMB1 (Network)  Default
SMB1 (Network)   SMB1 (Network)   SMB1 (Network)  Default (maybe)
SMB1 (Network)   PM1  (Local)     PM1  (Local)    Default

LPT1x(Local)     IPP1 (Network)   LPT1x(Local)    Specified
LPT1x(Local)     SMB1 (Network)   LPT1x(Local)    Specified
PM1  (Local)     LPT1 (Local)     PM1  (Local)    Specified
PM1  (Local)     SMB1 (Network)   PM1  (Local)    Specified
LPT1x(Local)     PM1  (Local)     LPT1x(Local)    Specified
PM is a Port Monitor.

Conclusion: 
1. If the specified printer is a Windows defined network printer the -pt 
option will always choose the default printer, even if the default printer is 
another network defined printer.

2. If the specified printer is a Windows defined local printer the -pt option 
will always choose the specified printer.  

Can you look into this?

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to