Skip to main content

 

OCLC Wise Support EN

Printing

Printing configuration

To access the printing configuration, click on the name of your profile in the upper right of the Console screen and then select Configuration > Peripherals. Printer selections can be made here after installing and configuring the Local Device Connector.

Local Device Connector

The Local Device Connector can be used to print directly from the Console to printers available on a workstation. An installer application for the Local Device Connector will need to be downloaded and installed before printers and output can be configured. The installer application can be downloaded here.

 Note: Some browsers may mark the installer as unsafe and ask for confirmation to download it.

Installation

To install the Local Device Connector:

  1. Click the link to the installer download.
  2. Once the download is complete, double-click the ldc-install.exe file in your downloads.
  3. A command prompt window will appear that indicates that the Local Device Connector is installing.
  4. Within a minute or two a second window will appear that tracks the remaining installation progress. Once the download is complete the Connector will automatically launch and a shortcut will be created on your desktop.

 Note: You may be prompted to run ldc-install.exe as an administrator, but this is not required to successfully install the Local Device Connector. Devices using Microsoft Defender SmartScreen may  also show the following screen when the installer is executed. If this occurs, click More info and then click Run anyway.

LDC_SmartScreen_1.png LDC_SmartScreen_2.png

Once the Local Device Connector has been installed on your device and is running in the background the Connector status and version information will show in the Console configuration screen.  If the Local Device Connector has just been installed you may need to refresh the browser that the Console is open in for the Connector to be recognized.

To redo the installation:

  1. Stop the Connector by right-clicking on the Local Device Connector icon in the taskbar and selecting Quit.
  2. In Windows (C:)\Users\<user>\AppData\Local\OCLC\ delete the localdeviceconnector directory (if you want to use the same configuration as the current installation, copy the existing application.yml file in that directory to a backup location).
  3. From the Windows desktop, delete the Local Device Connector shortcut.
  4. From Windows (C:)\Users\<user>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup delete the ldcinstaller shortcut.
  5. Download the installer again and run it. This will install the Local Device Connector and start it.
  6.  If you want to use a configuration other than the default, place an appropriate application.yml (such as the one copied in step 2) in Windows (C:)\Users\<user>\AppData\Local\OCLC\localdeviceconnector.

Local Device Connector Configuration

Printer configuration

To allow the Connector to recognize available printers on a workstation, a file named application.yml containing the names of all printers that will be used will need to be placed in the <ldc-home> directory (which can be found under Windows (C:)\Users\<user>\AppData\Local\OCLC\localdeviceconnector).
 

To find the names of the printers and create the file:

  1. Open the Start menu on your device and search for Microsoft PowerShell.
  2. Click the PowerShell icon to launch the program.
  3. Type Get-Printer in Windows PowerShell and hit enter.
  4. A list of configured printers will appear.
  5. Copy and paste the contents of the example application.yml file below into a new Notepad or Notepad++ file:
printer:
  devices:
    - id: mspdfprinter
      name: Microsoft Print to PDF
    - id: epson1
      name: EPSON57C8BD (ET-2750 Series)
  1. Each printer that should be configured in the Local Device Connector will need to have its own entry in this file. The id field can be freely chosen as long as it is unique and does not include any spaces, but the name field should be identical to the name given in the result of the 'Get-Printer' command.
     

     Caution: Do not include any spaces in the id fields entered in your application.yml file. Including spaces here can prevent the Local Device Connector from launching correctly.

  2. Once all printers have been added to this file, save the file under Windows (C:)\Users\<user>\AppData\Local\OCLC\localdeviceconnector with the name application.yml and the file type set to All types.
  3. You may need to restart the Connector in order for the printers you configured to show as options in the Console. To stop the Connector, right-click on the Local Device Connector icon in the taskbar and select Quit. Once you have stopped the Connector, double-click the desktop icon to relaunch it.

 Alternative printer configuration workflows

It is possible to configure as many printers as desired in the application.yml file, so it may be more efficient to create the file with all available printers and share the same file across all workstations. Then, when users complete the setup in the Console configuration, they would just need to select the correct printers from the available list instead of creating a new application.yml file for each workstation.

Additionally, it is also possible to retrieve printer information without using PowerShell. If only a few workstations are being configured, staff can retrieve the printer names by viewing the list of configured printers available for selection when printing any file from their workstation as they normally would.

In cases where a large number of workstations across locations need to be configured, staff may want to use an SQL query in the Report processor Queries tab to pull the information from the system configuration stored in the database for each of the workstations. Please see the following example query:

SELECT w.poortid AS 'Workstation',
w.poortoms AS 'Workstation Name',
w.poortvest AS 'Branch',
c.waarde AS 'Receipt Printer',
p.waarde AS 'Additional Printer',
p.sleutel AS 'Style Sheet'

/*Primary port table to get workstation names and branch*/
FROM poorten AS w
/*Join porten_config to get printer names*/
LEFT JOIN poorten_config AS c
ON c.id = w.id
/*Join poorten_printers to see additional printers used for other configured style sheets*/
LEFT JOIN poorten_printers AS p
ON p.id = w.id

/*Only show config for receipt printer names*/
WHERE c.sleutel = 'receiptprinter.name'

LIMIT 999;

 Note: This SQL option will only work with workstations that have already been using the Wise Client - any new workstations being used only with the Console will need to use one of the other workflows outlined above.

Optional cash drawer configuration

Optionally, when a printer is connected to a cash drawer, you can configure a cash drawer too. The cash-drawer property takes either a preset or a command, not both. Use preset when the printer is manufactured by EPSON or STAR. Use command in other cases. A command is a non-empty semicolon-separated sequence of bytes, where each byte is represented by two hexadecimal characters.

Configuration with Cash Drawers

devices:
    - id: ticketprinter
      name: Epson TM-T88IV Receipt
      cash-drawer:
        preset: EPSON
    - id: alternativeticketprinter
      name: Brother X-5567l5
      cash-drawer:
        command: 27;AB;00;27

Console configuration

When the Local Device Connector is first recognized in the Console a pop-up will appear with the message "The Local Device Connector has been installed, but needs to be set up before use". Click OK on the message pop-up to proceed with enabling the Connector and configuring your settings.

To enable or disable the Local Device Connector, use the toggle and click Save changes at the bottom right of the screen.  Disabling the Local Device Connector will revert your printing settings to browser printing and any further output for printing will be via .pdf.

Once you have enabled the Connector two pop-up messages will appear. The first confirms that the configuration settings were saved to the database and the second that a connection has been established between Wise and the Connector. Click OK on both messages to dismiss them.

Printers

To set a default printer, click the drop-down menus under Default Thermal printer and Default non-thermal printer and select a printer from each list. The list of available printers should match the names entered in the application.yml  file. If no printer will be used, leave the selection set to None (default).

Output

Configure receipt and slip output here. The following configurations are available:

  • Circulation receipt
  • Hold slip
  • Payment/wave receipt
  • Transport slip

Printing for each of these can be set to one of the following options:

Output option Description
Browser printing (default) Printing output using this method will generate a .pdf which can then be manually printed using a printer configured with your device.
Default thermal printer Printing output will automatically default to the printer configured under Default thermal printer.
Default non-thermal printer. Printing output will automatically default to the printer configured under Default non-thermal printer.

 

 

  • Was this article helpful?