| Author | Topic: XbpPrinter en XbpPrinterDialog doesn't worked well |
---|
| Dirk Visser RI | XbpPrinter en XbpPrinterDialog doesn't worked well
on Tue, 11 Dec 2012 22:29:51 +0100Dear reader,
I noticed a rare problem that asking for printernames I find in the list
\\pcdonor2\Dymo LabelWriter 450. But for selecting the printer in creating
XbpPrinter I must use Dymo LabelWriter 450 of pcdonor2. So far I can tackle
the differences in names. However when I use the XbpPrinter in
XbpPrinterDialog:display method it takes the default printer. So it seems
that the dialog want to use \\pcdonor2\Dymo LabelWriter 450 name again. That
name is of course not the name in the XbpPrinter.
Is this an error of xBase of is there a Windows settings that has to be
changed.
How can I let it worked well. This problems is worse in terminalsessie where
printer always has other names.
Dirk Visser
Director VigilantDMS |
| James Loughner | Re: XbpPrinter en XbpPrinterDialog doesn't worked well
on Tue, 11 Dec 2012 17:57:35 -0500So what are the name in the OS Windows printer window
You may have hit some max character limit
Jim
On 12/11/2012 04:29 PM, Dirk Visser RI wrote:
> Dear reader,
>
> I noticed a rare problem that asking for printernames I find in the list
> \\pcdonor2\Dymo LabelWriter 450. But for selecting the printer in creating
> XbpPrinter I must use Dymo LabelWriter 450 of pcdonor2. So far I can tackle
> the differences in names. However when I use the XbpPrinter in
> XbpPrinterDialog:display method it takes the default printer. So it seems
> that the dialog want to use \\pcdonor2\Dymo LabelWriter 450 name again. That
> name is of course not the name in the XbpPrinter.
>
> Is this an error of xBase of is there a Windows settings that has to be
> changed.
>
> How can I let it worked well. This problems is worse in terminalsessie where
> printer always has other names.
>
> Dirk Visser
> Director VigilantDMS
>
> |
| AUGE_ OHR | Re: XbpPrinter en XbpPrinterDialog doesn't worked well
on Wed, 12 Dec 2012 11:35:02 +0100hi,
try XbpPrinter():List() and "search" for your Printer
greetings by OHR
Jimmy |
| Dirk Visser RI | Re: XbpPrinter en XbpPrinterDialog doesn't worked well
on Sat, 15 Dec 2012 11:23:36 +0100James and Auge,
I feel that you don't understand the problem. Printerlist gives the namen
\\pcdonor2\Dymo LabelWriter 450 but defining an printerobject I had to use
Dymo LabelWriter 450 of pcdonor2.
But when make a printerdialog you have to use the printerobject. Although
the printerobject is right the dialog doesn't understand it and falls back
on the default printer.
Dirk Visser
"Dirk Visser RI" <dirk@deviant.nl> schreef in bericht
news:3e9b36c1$20e5b003$2728d@news.alaska-software.com...
> Dear reader,
>
> I noticed a rare problem that asking for printernames I find in the list
> \\pcdonor2\Dymo LabelWriter 450. But for selecting the printer in creating
> XbpPrinter I must use Dymo LabelWriter 450 of pcdonor2. So far I can
> tackle the differences in names. However when I use the XbpPrinter in
> XbpPrinterDialog:display method it takes the default printer. So it seems
> that the dialog want to use \\pcdonor2\Dymo LabelWriter 450 name again.
> That name is of course not the name in the XbpPrinter.
>
> Is this an error of xBase of is there a Windows settings that has to be
> changed.
>
> How can I let it worked well. This problems is worse in terminalsessie
> where printer always has other names.
>
> Dirk Visser
> Director VigilantDMS
> |
| AUGE_ OHR | Re: XbpPrinter en XbpPrinterDialog doesn't worked well
on Sun, 16 Dec 2012 19:01:24 +0100hi,
> I feel that you don't understand the problem. Printerlist gives the namen
> \\pcdonor2\Dymo LabelWriter 450 but defining an printerobject I had to use
> Dymo LabelWriter 450 of pcdonor2.
why you do not use IP of "\\pcdonor2\Dymo LabelWriter 450" ?
it might be a difference using IP Port or NetWork Share
so please sow us you PrinterPS how you :create(cPrinterName)
greetings by OHR
Jimmy |
| Hubert Brandel | Re: XbpPrinter en XbpPrinterDialog doesn't worked well
on Tue, 18 Dec 2012 23:40:22 +0100>> I feel that you don't understand the problem. Printerlist gives the namen
>> \\pcdonor2\Dymo LabelWriter 450 but defining an printerobject I had to use
>> Dymo LabelWriter 450 of pcdonor2.
Hi,
"Dymo LabelWriter 450" is the name of your Printerobjekt ON
"\\pcdonor2". In the Windows Explorer view it looks like "Dymo
LabelWriter 450 of pcdonor2" as my network printer do too.
But the NAME for CREATE is the UNC name of the SHARE:
"\\pcdonor2\Dymo LabelWriter 450"
I use the same syntax on my "\\server\Printer xyz" object with now
problem. Maybe the installed driver is not correct, maybe you shoul
avoid blanks inside the shared name ...
Regards,
Hubert |
| Jack Duijf | Re: XbpPrinter en XbpPrinterDialog doesn't worked well
on Thu, 27 Dec 2012 22:29:06 +0100Hello Dirk,
Probably you run the Xbase++ application on another computer then "pcdonor2"
1. Install the Dymo printer driver on the PC you are running the Xbase++ application.
Make sure to install this on a LOCAL port (eg Com1)
2. Got to printer properties.
3. Go to "Ports" (Poorten)
4. Add the new port, an enter the share-name of the printer like "\\pcdonor2\Dymo"
5. Select the new port for that printer.
I think this sdould do the trick.
Regards
Jack Duijf
-------------------------------------------------------------
Also a member off the XXP (http://www.xxp.nl) |