Hi together,
in May we had a discussion on this topic. Meanwhile I solved my problem
due to an other thread on this mailing list. Here is the code I use for
getting the printers and its tray names from OOo:
-%-
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import
Andrew Douglas Pitonyak wrote (21-5-2008 7:06)
Tobias Krais wrote:
I thought that the tray names were set in the PPD file (for post script
printers anyway).
This means OOo seems to read it from the ppd. Won't be platform
independent in case I want to do it this way...
I do not know that
Hi Andrew,
I thought that the tray names were set in the PPD file (for post script
printers anyway).
For example, read page 101 of this document
http://partners.adobe.com/public/developer/en/ps/5003.PPD_Spec_v4.3.pdf
This means OOo seems to read it from the ppd. Won't be platform
Tobias Krais wrote:
Hi Andrew,
I thought that the tray names were set in the PPD file (for post script
printers anyway).
For example, read page 101 of this document
http://partners.adobe.com/public/developer/en/ps/5003.PPD_Spec_v4.3.pdf
This means OOo seems to read it from the ppd.
Hi together,
at the moment I encounter a serious problem on Windows OS. I wrote a
little OOo dialogue allowing the user to print a document on a certain
tray of a printer. Now my Problem: for OOo does not offer an API to get
printer tray names, I use the API of Java. It returns me, for example
Hi Tobias,
Tobias Krais wrote (19-5-2008 11:01)
at the moment I encounter a serious problem on Windows OS. I wrote a
little OOo dialogue allowing the user to print a document on a certain
tray of a printer. Now my Problem: for OOo does not offer an API to get
printer tray names, I use the API
Hi Cor,
I have a Basic extension for the same job, but provide admins with a
unhandy tool to copy/paste papertray names to an ini-file.
I thought about it. But it was mere a nightmare...
What I do know: related issues are 87883 and 87495
Interesting. This would solve the issue. But in
Am Montag, den 19.05.2008, 11:41 +0200 schrieb Tobias Krais:
Hi Cor,
I have a Basic extension for the same job, but provide admins with a
unhandy tool to copy/paste papertray names to an ini-file.
I thought about it. But it was mere a nightmare...
What I do know: related issues are
Hallo Marc,
Did you have a look at:
$(user)/user/psprint/psprint.conf
This file does not exist here.
$(inst)/share/psprint/psprint.conf
There is no tray information inside.
But thanks for the hint.
Greetings, Tobias
-
Tobias Krais wrote:
Hi together,
at the moment I encounter a serious problem on Windows OS. I wrote a
little OOo dialogue allowing the user to print a document on a certain
tray of a printer. Now my Problem: for OOo does not offer an API to get
printer tray names, I use the API of Java. It
10 matches
Mail list logo