Windows printing alignment issue #31
-
X and Z report is cutting off, how do we fix it while using windows printer for printing. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 21 replies
-
Hi @DanyallAslam - it looks like the image you tried uploading has a broken link. Can you try uploading again so we can see what's getting cut off? |
Beta Was this translation helpful? Give feedback.
-
Hi Matt,
We are looking for a WindowsPrinter device sample not an OPOSPrinter sample.
Thanks,
D
…On Tue, May 23, 2023 at 1:14 AM Matt Dyke ***@***.***> wrote:
@DanyallAslam <https://github.com/DanyallAslam> & @hanhnguyen0288
<https://github.com/hanhnguyen0288> - apologies for the slow response,
Luke and I had both been pulled into some other escalations recently.
The updated HWS samples should have been published a few weeks ago as a
part of the InStore samples:
Dynamics365Commerce.InStore/src/HardwareStationSamples
<https://github.com/microsoft/Dynamics365Commerce.InStore/tree/release/9.44/src/HardwareStationSamples>
There should be examples in those samples that provide details on how the
new workflow pattern works in Commerce SDK. From the original question on
this thread, the CustomOposDevicePrinter is probably a good starting point
to take a look at:
src/HardwareStationSamples/PeripheralCustomizations/Printer/CustomOposPrinterDevice.cs
<https://github.com/microsoft/Dynamics365Commerce.InStore/blob/release/9.44/src/HardwareStationSamples/PeripheralCustomizations/Printer/CustomOposPrinterDevice.cs>
If you have any questions about the samples or still aren't sure what to
do for your specific scenario, please let us know.
—
Reply to this email directly, view it on GitHub
<#31 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A56SI3VK7ZSHWSTUS63ILBTXHPJL3ANCNFSM6AAAAAAU7DMJQM>
.
You are receiving this because you were mentioned.Message ID:
<microsoft/Dynamics365Commerce.
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Any update on this @madyke |
Beta Was this translation helpful? Give feedback.
-
Hi Support, We need cash drawer sample in commercesdk on urgent basis, please entertain ASAP. |
Beta Was this translation helpful? Give feedback.
@spotityza @DanyallAslam @hanhnguyen0288
Hi folks, it looks like the backport of the Windows printer sample was published today. You can find all of the HWS samples here, with instructions on how to set them up and test them. And the Windows printer sample code is here. The sample demonstrates how you can modify the receipt content and formatting by creating a new request handler that will intercept the print request, giving you access to the string content of the receipt to be printed. This content can be modified and then sent via a new request to the next request handler, which contains all of the core code that is responsible for actually printing the receipt. If you need to reformat …