Symptom | Possible Cause and Solution |
---|---|
Bitmap function does not print the bitmap or bitmap is the wrong size. |
The size and offset parameters of the Bitmap method were given in pixels, not characters. The size of the bitmap and its offset in the Bitmap method is specified in characters, not pixels. The size of the character is determined in the printer configuration file. The name of the configuration file by default is ITC_Config.xml, though other names may be specified in the LinePrinter constructor or its ConfigurationFile property. Within the entry for a particular printer, the character size is determined in the GraphCharHeight and GraphCharWidth attributes. If the size and offset of the bitmap could cause it to be printed beyond the right edge of the printer's print width, the image may not print or may be truncated, depending on the printer used. |
Bitmap function prints solid black or solid white. |
The bitmap is not a 1 bit per pixel (monochrome) bitmap. The Bitmap method expects a 1bpp bitmap. Other color depths may produce unexpected results. Either create a 1bpp bitmap, or convert an existing bitmap to 1bpp before attempting to print. |
Text effect commands (such as BoldOn, ItalicOn, or UnderLineOn) have no effect on printing. |
The printer is not capable of printing the desired style. Not all printers are capable of all printing styles. If the configuration file is configured correctly and you try to enable a style that is not supported on the selected printer, the method should return 0. Be sure to check return values. |
You are trying to print to a printer other than the one described in the configuration file. The printer selected in the constructor or the PrinterID property does not match the printer physically or logically connected to the mobile computer. Make sure you have selected the correct printer. |
|
Incorrect or missing printer commands specified in the configuration file. It is possible that the printer commands for a particular printer are incorrect or missing in the configuration file. You should consult the Programmer's Guide for the particular printer you are using and verify the commands in the configuration file. To find more information about the entries in the configuration file, see LinePrinter Configuration File. |
|
End of report does not print, or portions of the report missing, but no errors or warnings are generated: |
Incorrect handshaking settings are being used for the selected printer port section of the configuration file. Verify the correct settings for the CTS, DSR, DTR, RTS, and XONXOFF attributes are being used for the printer selected. For wired serial port connections to many mobile printers the most common settings for these attributes are: XONXOFF="y" CTS="n" DSR="y" DTR="y" RTS="n" For Bluetooth: RTS="y", CTS="y" |
Report will not start printing. |
Incorrect handshaking settings are being used for the selected printer port section of the configuration file. Verify the correct settings for the CTS, DSR, DTR, RTS, and XONXOFF attributes are being used for the printer selected. For wired serial port connections to many mobile printers the most common settings for these attributes are: XONXOFF="y" CTS="n" DSR="y" DTR="y" RTS="n" For Bluetooth: RTS="y", CTS="y" |
Incorrect serial cable or serial cable not connected. Verify that you are using the correct cable for serial printing and that the cable is connected at both ends. |
|
Bluetooth radio is off. Make sure that the Bluetooth radio is powered on and that flight mode is off. This can usually be done through settings. |
|
Printer out of Bluetooth range. Try repositioning the printer in relation to the mobile computer and try again. |
|
Bluetooth radio is talking to a different printer than the one you expected. The printer that the Bluetooth radio in the mobile computer is talking to is different than the one you expect. Verify that you have the correct printer selected in your application. |
|
While printing via Bluetooth the report prints a large portion of the report, but then the report pauses and an error is generated. |
Need to update the printer firmware. On some Bluetooth printers there could be long delays in printing while the printer received data from the mobile computer. Newer firmware has shortened these delays. |
Write timeout delays are too short. You can increase the write timeout delays in the printer ports section of the printer configuration file. In the configuration file, change the WriteTotalTimeoutConstant attribute for the selected printer port to a value of 75000. |
|
Open method occasionally fails with an error 55: The specified network resource or device is no longer available. |
Bluetooth radio or COM port already in use. Make sure no other applications are using the port and that the application is always closing the port when done with it. |
Issue with Bluetooth radio connections. Due to the nature of wireless connections and the short range of Bluetooth, this error occasionally occurs even when the printer and mobile computer are in close range. If you receive an error 55 on the first attempt, Honeywell recommends that you try connecting again before propagating the failure through the application. |