printers

Printer Driver - custom paper size

拥有回忆 提交于 2020-06-29 01:43:42
问题 I'm working on custom printer V3 driver. The current task is to give ability to create custom paper size to user. I google it a bit and found 2 ways of doing that: 1) CUSTOMSIZE option in GPD file. I've added this to my GPD file: *Option: CUSTOMSIZE { *rcNameID: =USER_DEFINED_SIZE_DISPLAY *MinSize: PAIR(4724, 6992) *MaxSize: PAIR(14032, 20410) *MaxPrintableWidth: 14032 *MinLeftMargin: 0 *CenterPrintable?: FALSE *Command: CmdSelect { *Order: PAGE_SETUP.2 *Cmd: "" } } , but could not find where

Disable 'Bidirectional communication' for a printer?

随声附和 提交于 2020-05-17 06:44:28
问题 How do you disable 'Bidirectional communication' using powershell? I can see EnableBIDI when running: get-WmiObject -class Win32_printer | fl * But when I try this, it says the property was not found? Set-PrinterProperty -PrinterName "Some Printer" -PropertyName "EnableBIDI" -Value $False 回答1: You are mixing properties from two different WMI classes. Set-PrinterProperty manipulates instances of the undocumented MSFT_PrinterProperty class from the root/standardcimv2 namespace, which has

Finding if printer is online and ready to print

℡╲_俬逩灬. 提交于 2020-01-01 16:52:09
问题 The following 4 questions didn't help, therefore this isn't a duplicate: ONE, TWO, THREE, FOUR I need to find a way to discover if the Printer that my system reports is available to print or not. Printer page: In the picture, the printer "THERMAL" is available to print, but "HPRT PPTII-A(USB)" isn't available to print. The System shows me that, by making the non-available printer shaded Using the following code, I'm able to find all the printers in the system public static List<String>

excel bva code to send command to usb printer

微笑、不失礼 提交于 2019-12-25 09:58:54
问题 I am trying to use my Epson TM U220 as I did before installing a new PC with WIN 7 64bit and Excel2010, no parallel port. In the past I used this simple code to open cash drawer: Sub drawer_opener() Open "LPT1" For Output As #1 Print #1, Chr(27) + Chr(112) + Chr(0) + Chr(25) + Chr(250) Close #1 End Sub Now I am using an adapter parallel-USB but with no response to opening cash drawer commnad after changing "LPT1" to "USB001" in code. After some web research I found following code that is

Delphi 2007, not all installed printers show in printer setup dialog

故事扮演 提交于 2019-12-24 16:35:21
问题 I have two users now that tell me that the standard TPrinterSetupDialog in our Delphi 2007 application does not list all installed printers. One user just installed a Canon D1300, it is selected as the default printer in control panel but does not even show in the list in the PrinterSetupDialog. Another user reported the same problem with a Xerox Phaser 8560, it was also the default printer in control panel. Is there any know reason that this could happen. John Taylor 来源: https:/

Intermec PR3 printer to print from android app using intermec SDK?

痞子三分冷 提交于 2019-12-24 08:11:38
问题 I'm using Intermec android SDK to print to intermec printers: Intermec Printer SDK The problem that I faced that i can't print arabic text i'm using Intermec PR3 model. I have no idea, Please help me? This is the code snippet: lp.setBold(true); lp.setDoubleWide(false); lp.setDoubleHigh(false); lp.write("بسم الله الرحمن الرحيم"); lp.setDoubleWide(false); lp.setDoubleHigh(false); lp.newLine(2); 回答1: Finally i solved arabic text problem as the following by using arabicIntermec lib: Arabic864

“There is no default printer selected” error when Windows default printer is not set up

蹲街弑〆低调 提交于 2019-12-23 06:09:31
问题 I need to open the Printer Dialog box when there is no Windows default printer setup. It works fine with the below code when a Windows default printer is set up. TPrintDialog *dlgPrint = new TPrintDialog(frmDisplayDetail); if( dlgPrint->Execute()) { //code here } But if there is no default printer setup in Windows, dlgPrint->Execute() throws an exception: There is no default printer selected To check the default printer index, I used Printer()->PrinterIndex . This value becomes inaccessible

Bluetooth and WIFI Printing for Android

对着背影说爱祢 提交于 2019-12-17 03:56:30
问题 We would need a portable printer (handheld, it is important) that can connect to android phone via bluetooth or wifi. What I know currently: No standard printing SDK available for Android this time There is a non official SDK called iPrint SDK. Have any of you tried it through wifi or bluetooth? Does it work? Printershare also claims to be programmaticly available. It would be ok for me to pay the one time fee $5 for it per phone. It has a lot of supported formats. Have you tried it with any

Bluetooth and WIFI Printing for Android

北城以北 提交于 2019-12-17 03:56:26
问题 We would need a portable printer (handheld, it is important) that can connect to android phone via bluetooth or wifi. What I know currently: No standard printing SDK available for Android this time There is a non official SDK called iPrint SDK. Have any of you tried it through wifi or bluetooth? Does it work? Printershare also claims to be programmaticly available. It would be ok for me to pay the one time fee $5 for it per phone. It has a lot of supported formats. Have you tried it with any

Bluetooth and WIFI Printing for Android

孤人 提交于 2019-12-17 03:56:05
问题 We would need a portable printer (handheld, it is important) that can connect to android phone via bluetooth or wifi. What I know currently: No standard printing SDK available for Android this time There is a non official SDK called iPrint SDK. Have any of you tried it through wifi or bluetooth? Does it work? Printershare also claims to be programmaticly available. It would be ok for me to pay the one time fee $5 for it per phone. It has a lot of supported formats. Have you tried it with any