Can't print via WiFi connected printer lazarus / 21-General ---------------------------------------------------------------------- Bert_Plitt · 2021-10-09 17:47 Hello All -- Can anyone tell me why I get an error when trying to print to a printer with a wireless connection but not with a USB or ethernet connection.  The attached sample project prints fine on my Epson ET-2700 via the USB connection, but produces "Error printing on Epson" via the wireless connection.  The demo uses the Printer.Canvas.TextOut function.  Is there a special setting needed somewhere to allow printing via WiFi connection? I'm on Windows 10, Lazarus ver 2.2.0 RC1, FPC ver 3.2.2 ---------------------------------------------------------------------- jamie · 2021-10-09 20:16 What does the name of the Wifi printer look like in the windows tray ? Are you reselecting the printer other than using the default printer ? ---------------------------------------------------------------------- Bert_Plitt · 2021-10-09 22:11 Jamie -- Thanks for the reply.  I'm not sure what you're asking.  The attachment is two screen shots of the two printer selections (from a Lazarus dialog box).  One prints OK the other produces a 'Cannot print' error.  Neither is the default printer in my setup.  BTW - Both printer names are ones that I entered, so I would not think the names are significant to the problem. ---------------------------------------------------------------------- mica · 2021-10-10 00:45 hmmm WSD connection .... try TCP connection WSD always makes problems ---------------------------------------------------------------------- Bert_Plitt · 2021-10-10 01:09 Mica -- I don't know how to change to TCP.  The current connection was magically done automatically by the router and printer.  And by-the- way, all other applications on my PC print just fine via the WiFi connection shown, which makes me think it's a Lazarus bug. ---------------------------------------------------------------------- jamie · 2021-10-10 01:38 Quote from: Bert_Plitt on October 10, 2021, 12:11:29 amJamie -- Thanks for the reply.  I'm not sure what you're asking.  The attachment is two screen shots of the two printer selections (from a Lazarus dialog box).  One prints OK the other produces a 'Cannot print' error.  Neither is the default printer in my setup.  BTW - Both printer names are ones that I entered, so I would not think the names are significant to the problem. The path looks like a IPV6 which also looks like it's incomplete with maybe some corruption in play.