» Print & Printer
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Print & Printer

plugin print printer texture
Credits: Zeos, license: LGPL

about

Print node

prints a texture

  • Set printer by printer name pin
  • x,y placement
  • portrait/landscape
  • set Color/grayscale
  • Select Paper Size
  • Scale to page (fit)
  • Set print margins
  • Using separate thread, does not block vvvv (via Tasks)
  • Help patch
  • Full source code

Not spreadable (yet)

Printer node

returns information about specific printer or all available printers,
if Printer Name is not supplied
Retrieves the following information about a printer:

  • Printer Name
  • If it is valid (online/offline)
  • Duplex mode available
  • Is it the default printer
  • Does it support color print
  • Information about supported paper sizes (Name, Code, Dimensions)
  • Help patch
  • Non blocking
  • Full source code

Takes some time to load all the info for each printer

The plugins are using c# .net 4.0 Tasks magic to implement non-blocking behavior, please test and report if it works for you. I have no idea, why it does - but it works for me :>

download

VVVV.Print-ver0.4a_x86.zip
14.11.15 [16:47 UTC] by zeos | 687 downloads
Show 3 older revisions

Older Revisions

Print.ver03.zip
20.05.15 [20:41 UTC] by zeos | 439 downloads
Enumarate printers and print a texture (v03); bug fixes; 10x Zepi!
Print.ver02a.zip
22.10.12 [16:32 UTC] by zeos | 794 downloads
Simple printing related nodes (v02a)
Print.ver01a.zip
22.10.12 [15:12 UTC] by zeos | 487 downloads
Simple printing related nodes

h99 22/10/2012 - 14:58

Great! Here's perfect!

Just a hint:

  • Set renderer background to white!
  • Maybe a pin to choose which printer to use (though there are a lot of workarounds).

+1

zeos 22/10/2012 - 15:06

@h99

The bgColor is now white. Thanks!
The pin to choose the printer is there, it is called PrinterName.

The Print node can work in combination with Printer node, to obtain the default printer from the system.

Thanks for the report!

Regards

h99 22/10/2012 - 15:44

In the example, Printer Name receives infos from printer's PrinterName, which the most comfortable option: here default printer name is 7 word long, about 30 chars, and anyway is just one of the 7 installed printers, including one note, xps and so on; after reading your answer I tried to input a wrong printer name and vvvv crashed, so I set an IOBox up the Select of Select (String) to choose a printer and feed print node with a correct name.
Hope now is more clear what I was saying :) (or maybe I'm missing something simple!)

Win7 64bit - beta28.1

Thanks again!!!

zeos 22/10/2012 - 16:13

@h99: I assume that: 1) You know the name of the printer, or 2) you use the Printer node to find the default printer. Anyway, additional check is always good! Thanks for the feedback! I will put some validation and update the plugin.

edit: Now it checks, please, test. Thanks.
edit 2: Also, is there some input setting for the Print node that you would need/add or that's sufficient?

h99 22/10/2012 - 17:59

Thank you, hope this will be useful for other users too.
And no, nothing more :)
Best wishes

nzo.nzo 23/10/2012 - 09:18

Thank's you!

tgd 24/10/2012 - 18:40

cool, thanks for sharing

patrick 25/10/2012 - 11:22

Thx!

sansui 27/06/2013 - 20:41

I was finding printing plugin for using Thermal Printer.
My Thermal Printer driver is well-installed in my windows 7.
Thermal Printer is working well in Notepad and Window Paint and so on.
In winows 7, It is recognized as a normal printer, and default printer.
but using this plugin in vvvv, only right black line is printed.
In Print HelpPatch, I also tried changing to various image texture, but result is only right black line, nothing different exist.

another odd thing is,
In Print HelpPatch, AsString(EX9. Texture)'s File Format InputPin seems available only PNG.
if I select BMP, it doesn't print.
In console window, this message is shown "Can not load image data: The parameter is incorrect."

I am using vvvv29beta30 x86, win7 x64 ultimate, mc374kh/a.
could you help me?

zeos 28/06/2013 - 14:26

Hi Sansui,

thanks for the feedback! Without the actual device I have no chance to test it. My guess is to change the printer settings, like paper size, dpi and so on.

EDIT: Just tested with 45beta30.2x86 and it prints on regular laser printer.
The DXTexture -> AsString is set to BMP. What image format your device is supporting? What is the vendor/model of your device?

regards
Zeos

sansui 04/07/2013 - 18:50

hey zeos! nice to meet you.
I questioned forum.
is-there-a-way-to-print-by-printer
finally I am using ShellExecute method.
and later I would test for following your comment.
I didn't tested with other printer.

I have Thermal Printer named BIXOLON SRP-350plusII.
http://www.bixolon.com/html/en/product/product_detail.xhtml?prod_id=2

zepi 14/04/2015 - 11:10

Another v4 mistery: this print-function is really cool and works (kind of) fine in my patches here. BUT: only when the patch containing the print is open and the patch window selected on top.
Any ideas?

Is there an alternative way to print directly from the renderer (without saving the image to disc)?

elektromeier 16/04/2015 - 00:41

@zepi, sounds a bit like "auto evaluate = true" is not set in the plugin. dont have time to try it atm, but if its this its really easy to fix.

lbolster 11/11/2015 - 23:42

Nice job! but here all versions of the module throw me the same error: AsString(EX9.Texture) is in red. I tried in x86 beta 34.2 and x64 33.3, 33.7, 34.7, I do not find that node anywhere too.. any suggestions?

zeos 13/11/2015 - 16:59

will take a look ;)

zeos 14/11/2015 - 17:50

@lbolster: Please, dl and test if it works for you.

If you use DX11, simple use the DX11 version of asRAW and set it to BMP.

lbolster 17/11/2015 - 17:02

works perfect zeos! thank you!

gegenlicht 21/10/2016 - 20:32

While printing a "now printing" Window pops up. Its visible while in DX11 fullscreen.

Does anyone know how to remove/hide it?

gegenlicht 23/10/2016 - 23:11

Solution: dx11 -> dx9

anonymous user login

Shoutbox

~1d ago

domj: Stuck in your patching or eager to share what you made or came across? Join Midweek Patch Therapy at 17:30 https://therapy.domj.net/

~2d ago

david: vvvv meetup 3. new stream link. again youtube made us nuts.. please send everybody to https://youtu.be/pa3HRQ7kj6w

~2d ago

joreg: Reminder: Join us this evening, 8pm CET for the 3rd worldwide #vvvv meetup: 3.-worldwide-vvvv-meetup

~2d ago

sinus: @evvvvil: very impressive stuff! keep on marching the rays!You´ll never walk alone!

~3d ago

evvvvil: @mediadog, thankx for pointing it out broski. Wicked.

~4d ago

domj: Catching up with the Midweek Patch Therapy excerpts, expect more videos over the week. https://youtu.be/36r8LnHaS7g

~5d ago

mediadog: @evvvvil hey you made the webgl-dev-list cool stuff list: http://gfxprose.blogspot.com/2020/05/cool-webgl-stuff-2020-05-21.html

~6d ago

evvvvil: Yo I'm live doing a VJ set made in vvvv for OUTLINE demoparty with OddJohn DJing! Come see us play here: https://www.twitch.tv/outlinedemoparty/

~7d ago

domj: A blast to read with great references. Thoughts on how to make programming more learnable and understandable. http://worrydream.com/LearnableProgramming/

~7d ago

gegenlicht: @evvvvil damn. - missed it. Such unique styles, others would create 1000 twitter loops from one of ur sessions. :3 #bobrossmarch