Skip to main content

New answers tagged

0 votes

How to direct Print in PHP with select default printer from web application?

I see that this is a very old question and has probably been answered by the poster. But here is an answer anyone can use. The easiest way to print something under Windows, Linux, BSD, and Mac is to ...
Mark Manning's user avatar
  • 1,495
Advice
0 votes
0 replies
0 views

Why are native printer draft fonts (10cpi) missing in MS Word on Windows 7+ compared to Windows XP?

In which case, it's a problem with your driver, not Windows. Windows does support dot-matrix fonts and suitable fonts should have been supplied with your printer - or should at least be available from ...
macropod's user avatar
  • 14k
Best practices
0 votes
0 replies
0 views

How to print an image on an ESC/POS thermal printer in .NET MAUI?

Consider using SkiaSharp, e.g. SkiaSharp.Views.Maui.Controls. Specifically SKBitmap.
Stephen Quan's user avatar
  • 28.3k
0 votes

c# RawPrinterHelper sends data to printer, printer spools and states "printed" but doesnt actually print

I have been playing around with printing labels sending TSPL to a thermal label printer and was getting the same issue where it would show as printed in the printer queue, but not actually print. I ...
Hpjchobbes's user avatar
  • 1,359
Advice
0 votes
0 replies
0 views

Why are native printer draft fonts (10cpi) missing in MS Word on Windows 7+ compared to Windows XP?

If you just want to print text have you considered using a different program than Word? Most likely not the Windows version but the Word version is the problem.
Robert's user avatar
  • 43.6k
Best practices
0 votes
0 replies
0 views

How to print an image on an ESC/POS thermal printer in .NET MAUI?

I would go to the site of any decent brand that has ESC/POS printers and download their SDK to use it directly. If you do not want to use the whole thing, you can at least see how it is done. Some of ...
H.A.H.'s user avatar
  • 4,390
Advice
0 votes
0 replies
0 views

Why are native printer draft fonts (10cpi) missing in MS Word on Windows 7+ compared to Windows XP?

I see you posted in the SuperUser forum and your question was closed. Try one of the other links. They are not as picky. However, see this link first. For cross-posting etiquette, please read: A ...
Charles Kenyon's user avatar
Best practices
0 votes
0 replies
0 views

How to print an image on an ESC/POS thermal printer in .NET MAUI?

@ADyson Sir, I encountered issues while implementing this functionality in MAUI, which is why I mentioned MAUI specifically. This can help others facing similar challenges in the future, and the tag ...
Shahzaib Rasool's user avatar
Best practices
0 votes
0 replies
0 views

How to print an image on an ESC/POS thermal printer in .NET MAUI?

None of this seems to have anything to do with MAUI specifically - the code could could be done in any .NET program. Not sure why you keep mentioning MAUI or tagged it with that.
ADyson's user avatar
  • 63.1k
Best practices
1 vote
0 replies
0 views

How to print an image on an ESC/POS thermal printer in .NET MAUI?

Why do you threshold twice, once in step 2 and once in step 3? In all honesty, this code feels AI-generated I'm afraid. It's also not a question: this is supposed to be an open question-and-answer ...
canton7's user avatar
  • 43.5k
Best practices
0 votes
0 replies
0 views

How to print an image on an ESC/POS thermal printer in .NET MAUI?

Thank you. The code snippet has been updated.
Shahzaib Rasool's user avatar
Best practices
0 votes
0 replies
0 views

How to print an image on an ESC/POS thermal printer in .NET MAUI?

I do feel like the // Additional image processing here bit is the most important part of this, and that's been omitted.
canton7's user avatar
  • 43.5k
Best practices
1 vote
0 replies
0 views

How to print an image on an ESC/POS thermal printer in .NET MAUI?

After implementing this in a .NET MAUI project, I found that printing images on a thermal printer usually involves four main steps: 1. Load the image 2. Convert the image to monochrome 3. Convert the ...
Shahzaib Rasool's user avatar
Advice
0 votes
0 replies
0 views

Why are native printer draft fonts (10cpi) missing in MS Word on Windows 7+ compared to Windows XP?

i can't, it's the driver's default font and the font only appears when the dot matrix printer is connected, you can only install fonts with the type (true type), i can't install them
Muhammad irfan's user avatar
Advice
0 votes
0 replies
0 views

Why are native printer draft fonts (10cpi) missing in MS Word on Windows 7+ compared to Windows XP?

So why don't you just download and install the fonts you want to use?
macropod's user avatar
  • 14k
Advice
1 vote
0 replies
0 views

Why are native printer draft fonts (10cpi) missing in MS Word on Windows 7+ compared to Windows XP?

This is not an appropriate question here. See https://stackoverflow.com/help/on-topic. You could post it on https://superuser.com/questions/tagged/microsoft-word or https://learn.microsoft.com/en-us/...
Charles Kenyon's user avatar
0 votes

Comment out flutter print statements in vs code

You can use log(msg); (developer) If you use logger, you can override log output to make any print you like. Like this: import 'dart:convert'; import 'dart:developer'; import 'package:flutter/...
Иван Игонькин's user avatar
-1 votes

Stop HTML table header from repeating on each printed page

thead { display: table-row-group; } The other question from 2008 asking for the opposite -- inclusion of repeated headers on each page -- that Sampson linked in his answer here, also contains curious ...
myf's user avatar
  • 12.6k
Advice
0 votes
0 replies
0 views

How to ask Windows if a printer spools or not (in either .NET or Win32)?

You can query and control printers using the classes in the System.Printing namespace. You can get the direct or queued setting from the PrintQueue.QueueAttributes property. This snippet, adapted from ...
Panagiotis Kanavos's user avatar
Advice
2 votes
0 replies
0 views

How to ask Windows if a printer spools or not (in either .NET or Win32)?

I don't know if C# has a native solution, but the Win32 GetPrinter() API can give you what you want. Call it with Level=2. The Attributes field of the PRINTER_INFO_2 struct has ...
Remy Lebeau's user avatar
Advice
1 vote
0 replies
0 views

How to ask Windows if a printer spools or not (in either .NET or Win32)?

GetPrinter(...,2,...) should get you a PRINTER_INFO_2 that has an Attribute field that can contain PRINTER_ATTRIBUTE_DIRECT (=2) if job is sent directly to the printer, not spooled.
Simon Mourier's user avatar
Tooling
0 votes
0 replies
0 views

Newland N950 POS SDK — UnsatisfiedLinkError on release build in Flutter plugin (extracted from system APK)

Based on the error alone, I think you didn't bundle libSelfNdkApi.so into your release APK. The only reason Debug still works its because on many POS devices like the N950 POS. System apps shares ...
jiggy palconit's user avatar

Top 50 recent answers are included