Commit b9466454 authored by Neil Gershenfeld's avatar Neil Gershenfeld
Browse files

Merge branch 'master' into neil

parents 4d7c55ae 652e00f9
B^C:\MIT\FABLAB\PRINTSERVER\NODE_MODULES\PRINTER\BUILD\RELEASE\OBJ\NODE_PRINTER\NODE_PRINTER.OBJ|C:\MIT\FABLAB\PRINTSERVER\NODE_MODULES\PRINTER\BUILD\RELEASE\OBJ\NODE_PRINTER\NODE_PRINTER_WIN.OBJ|C:\MIT\FABLAB\PRINTSERVER\NODE_MODULES\PRINTER\BUILD\RELEASE\OBJ\NODE_PRINTER\WIN_DELAY_LOAD_HOOK.OBJ B^C:\MIT\FABLAB\PRINTSERVER\NODE_MODULES\PRINTER\BUILD\RELEASE\OBJ\NODE_PRINTER\NODE_PRINTER.OBJ|C:\MIT\FABLAB\PRINTSERVER\NODE_MODULES\PRINTER\BUILD\RELEASE\OBJ\NODE_PRINTER\NODE_PRINTER_WIN.OBJ|C:\MIT\FABLAB\PRINTSERVER\NODE_MODULES\PRINTER\BUILD\RELEASE\OBJ\NODE_PRINTER\WIN_DELAY_LOAD_HOOK.OBJ
B^C:\MIT\FABLAB\PRINTSERVER\NODE_MODULES\PRINTER\BUILD\RELEASE\OBJ\NODE_PRINTER\NODE_PRINTER.OBJ|C:\MIT\FABLAB\PRINTSERVER\NODE_MODULES\PRINTER\BUILD\RELEASE\OBJ\NODE_PRINTER\NODE_PRINTER_WIN.OBJ|C:\MIT\FABLAB\PRINTSERVER\NODE_MODULES\PRINTER\BUILD\RELEASE\OBJ\NODE_PRINTER\WIN_DELAY_LOAD_HOOK.OBJ B^C:\MIT\FABLAB\PRINTSERVER\NODE_MODULES\PRINTER\BUILD\RELEASE\OBJ\NODE_PRINTER\NODE_PRINTER.OBJ|C:\MIT\FABLAB\PRINTSERVER\NODE_MODULES\PRINTER\BUILD\RELEASE\OBJ\NODE_PRINTER\NODE_PRINTER_WIN.OBJ|C:\MIT\FABLAB\PRINTSERVER\NODE_MODULES\PRINTER\BUILD\RELEASE\OBJ\NODE_PRINTER\WIN_DELAY_LOAD_HOOK.OBJ
B^C:\MIT\FABLAB\PRINTSERVER\NODE_MODULES\PRINTER\BUILD\RELEASE\OBJ\NODE_PRINTER\NODE_PRINTER.OBJ|C:\MIT\FABLAB\PRINTSERVER\NODE_MODULES\PRINTER\BUILD\RELEASE\OBJ\NODE_PRINTER\NODE_PRINTER_WIN.OBJ|C:\MIT\FABLAB\PRINTSERVER\NODE_MODULES\PRINTER\BUILD\RELEASE\OBJ\NODE_PRINTER\WIN_DELAY_LOAD_HOOK.OBJ B^C:\MIT\FABLAB\PRINTSERVER\NODE_MODULES\PRINTER\BUILD\RELEASE\OBJ\NODE_PRINTER\NODE_PRINTER.OBJ|C:\MIT\FABLAB\PRINTSERVER\NODE_MODULES\PRINTER\BUILD\RELEASE\OBJ\NODE_PRINTER\NODE_PRINTER_WIN.OBJ|C:\MIT\FABLAB\PRINTSERVER\NODE_MODULES\PRINTER\BUILD\RELEASE\OBJ\NODE_PRINTER\WIN_DELAY_LOAD_HOOK.OBJ
#TargetFrameworkVersion=v4.0:PlatformToolSet=v140:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native64Bit:WindowsTargetPlatformVersion=8.1
Release|x64|C:\MIT\fablab\PrintServer\node_modules\printer\build\|
B^C:\MIT\fablab\PrintServer\node_modules\printer\build\node_printer.vcxproj B^C:\MIT\fablab\PrintServer\node_modules\printer\build\node_printer.vcxproj
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2015
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "node_printer", "node_printer.vcxproj", "{479619E1-3F18-84AF-58FB-0830178CAA6B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{479619E1-3F18-84AF-58FB-0830178CAA6B}.Debug|x64.ActiveCfg = Debug|x64
{479619E1-3F18-84AF-58FB-0830178CAA6B}.Debug|x64.Build.0 = Debug|x64
{479619E1-3F18-84AF-58FB-0830178CAA6B}.Release|x64.ActiveCfg = Release|x64
{479619E1-3F18-84AF-58FB-0830178CAA6B}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
# Do not edit. File was generated by node-gyp's "configure" step
{
"target_defaults": {
"cflags": [],
"default_configuration": "Release",
"defines": [],
"include_dirs": [],
"libraries": []
},
"variables": {
"asan": 0,
"coverage": "false",
"debug_devtools": "node",
"force_dynamic_crt": 0,
"host_arch": "x64",
"icu_data_file": "icudt58l.dat",
"icu_data_in": "..\\..\\deps/icu-small\\source/data/in\\icudt58l.dat",
"icu_endianness": "l",
"icu_gyp_path": "tools/icu/icu-generic.gyp",
"icu_locales": "en,root",
"icu_path": "deps/icu-small",
"icu_small": "true",
"icu_ver_major": "58",
"node_byteorder": "little",
"node_enable_d8": "false",
"node_enable_v8_vtunejit": "false",
"node_install_npm": "true",
"node_module_version": 48,
"node_no_browser_globals": "false",
"node_prefix": "/usr/local",
"node_release_urlbase": "https://nodejs.org/download/release/",
"node_shared": "false",
"node_shared_cares": "false",
"node_shared_http_parser": "false",
"node_shared_libuv": "false",
"node_shared_openssl": "false",
"node_shared_zlib": "false",
"node_tag": "",
"node_use_bundled_v8": "true",
"node_use_dtrace": "false",
"node_use_etw": "true",
"node_use_lttng": "false",
"node_use_openssl": "true",
"node_use_perfctr": "true",
"node_use_v8_platform": "true",
"openssl_fips": "",
"openssl_no_asm": 0,
"shlib_suffix": "so.48",
"target_arch": "x64",
"v8_enable_gdbjit": 0,
"v8_enable_i18n_support": 1,
"v8_inspector": "true",
"v8_no_strict_aliasing": 1,
"v8_optimized_debug": 0,
"v8_random_seed": 0,
"v8_use_snapshot": "true",
"want_separate_host_toolset": 0,
"nodedir": "C:\\Users\\hll\\.node-gyp\\6.10.3",
"copy_dev_lib": "true",
"standalone_static_library": 1,
"access": "",
"also": "",
"always_auth": "",
"bin_links": "true",
"browser": "",
"ca": "",
"cache": "C:\\Users\\hll\\AppData\\Roaming\\npm-cache",
"cache_lock_retries": "10",
"cache_lock_stale": "60000",
"cache_lock_wait": "10000",
"cache_max": "Infinity",
"cache_min": "10",
"cert": "",
"color": "true",
"depth": "Infinity",
"description": "true",
"dev": "",
"dry_run": "",
"editor": "notepad.exe",
"engine_strict": "",
"fetch_retries": "2",
"fetch_retry_factor": "10",
"fetch_retry_maxtimeout": "60000",
"fetch_retry_mintimeout": "10000",
"force": "",
"git": "git",
"git_tag_version": "true",
"global": "",
"globalconfig": "C:\\Users\\hll\\AppData\\Roaming\\npm\\etc\\npmrc",
"globalignorefile": "C:\\Users\\hll\\AppData\\Roaming\\npm\\etc\\npmignore",
"global_style": "",
"group": "",
"heading": "npm",
"https_proxy": "",
"if_present": "",
"ignore_scripts": "",
"init_author_email": "",
"init_author_name": "",
"init_author_url": "",
"init_license": "ISC",
"init_module": "C:\\Users\\hll\\.npm-init.js",
"init_version": "1.0.0",
"json": "",
"key": "",
"legacy_bundling": "",
"link": "",
"local_address": "",
"long": "",
"maxsockets": "50",
"message": "%s",
"node_version": "6.10.3",
"npat": "",
"onload_script": "",
"only": "",
"optional": "true",
"parseable": "",
"prefix": "C:\\Users\\hll\\AppData\\Roaming\\npm",
"production": "",
"progress": "true",
"proprietary_attribs": "true",
"rebuild_bundle": "true",
"registry": "https://registry.npmjs.org/",
"rollback": "true",
"save": "true",
"save_bundle": "",
"save_dev": "",
"save_exact": "",
"save_optional": "",
"save_prefix": "^",
"scope": "",
"searchexclude": "",
"searchopts": "",
"searchsort": "name",
"shell": "C:\\windows\\system32\\cmd.exe",
"shrinkwrap": "true",
"sign_git_tag": "",
"strict_ssl": "true",
"tag": "latest",
"tag_version_prefix": "v",
"tmp": "C:\\Users\\hll\\AppData\\Local\\Temp",
"umask": "0000",
"unicode": "",
"unsafe_perm": "true",
"usage": "",
"user": "",
"userconfig": "C:\\Users\\hll\\.npmrc",
"user_agent": "npm/3.10.10 node/v6.10.3 win32 x64",
"version": "",
"versions": "",
"viewer": "browser"
}
}
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{479619E1-3F18-84AF-58FB-0830178CAA6B}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>node_printer</RootNamespace>
<IgnoreWarnCompileDuplicatedFilename>true</IgnoreWarnCompileDuplicatedFilename>
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props"/>
<PropertyGroup Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
</PropertyGroup>
<PropertyGroup Label="Locals">
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props"/>
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props"/>
<ImportGroup Label="ExtensionSettings"/>
<ImportGroup Label="PropertySheets">
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
</ImportGroup>
<PropertyGroup Label="UserMacros"/>
<PropertyGroup>
<ExecutablePath>$(ExecutablePath);$(MSBuildProjectDirectory)\..\bin\;$(MSBuildProjectDirectory)\..\bin\</ExecutablePath>
<IgnoreImportLibrary>true</IgnoreImportLibrary>
<IntDir>$(Configuration)\obj\$(ProjectName)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
<OutDir>$(SolutionDir)$(Configuration)\</OutDir>
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.node</TargetExt>
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.node</TargetExt>
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.node</TargetExt>
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.node</TargetExt>
<TargetName>$(ProjectName)</TargetName>
<TargetPath>$(OutDir)\$(ProjectName).node</TargetPath>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<AdditionalIncludeDirectories>C:\Users\hll\.node-gyp\6.10.3\include\node;C:\Users\hll\.node-gyp\6.10.3\src;C:\Users\hll\.node-gyp\6.10.3\deps\uv\include;C:\Users\hll\.node-gyp\6.10.3\deps\v8\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<BufferSecurityCheck>true</BufferSecurityCheck>
<CompileAsWinRT>false</CompileAsWinRT>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<DisableSpecificWarnings>4267;4351;4355;4800;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<ExceptionHandling>false</ExceptionHandling>
<MinimalRebuild>false</MinimalRebuild>
<OmitFramePointers>false</OmitFramePointers>
<Optimization>Disabled</Optimization>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<PreprocessorDefinitions>NODE_GYP_MODULE_NAME=node_printer;USING_UV_SHARED=1;USING_V8_SHARED=1;V8_DEPRECATION_WARNINGS=1;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_HAS_EXCEPTIONS=0;BUILDING_NODE_EXTENSION;DEBUG;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<StringPooling>true</StringPooling>
<SuppressStartupBanner>true</SuppressStartupBanner>
<TreatWarningAsError>false</TreatWarningAsError>
<WarningLevel>Level3</WarningLevel>
</ClCompile>
<Link>
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;DelayImp.lib;&quot;C:\Users\hll\.node-gyp\6.10.3\$(Configuration)\node.lib&quot;</AdditionalDependencies>
<AdditionalOptions>/ignore:4199 %(AdditionalOptions)</AdditionalOptions>
<AllowIsolation>true</AllowIsolation>
<DataExecutionPrevention>true</DataExecutionPrevention>
<DelayLoadDLLs>iojs.exe;node.exe;%(DelayLoadDLLs)</DelayLoadDLLs>
<GenerateDebugInformation>true</GenerateDebugInformation>
<GenerateMapFile>true</GenerateMapFile>
<MapExports>true</MapExports>
<OutputFile>$(OutDir)$(ProjectName).node</OutputFile>
<RandomizedBaseAddress>true</RandomizedBaseAddress>
<SuppressStartupBanner>true</SuppressStartupBanner>
<TargetExt>.node</TargetExt>
<TargetMachine>MachineX64</TargetMachine>
</Link>
<ResourceCompile>
<AdditionalIncludeDirectories>C:\Users\hll\.node-gyp\6.10.3\include\node;C:\Users\hll\.node-gyp\6.10.3\src;C:\Users\hll\.node-gyp\6.10.3\deps\uv\include;C:\Users\hll\.node-gyp\6.10.3\deps\v8\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>NODE_GYP_MODULE_NAME=node_printer;USING_UV_SHARED=1;USING_V8_SHARED=1;V8_DEPRECATION_WARNINGS=1;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_HAS_EXCEPTIONS=0;BUILDING_NODE_EXTENSION;DEBUG;_DEBUG;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<AdditionalIncludeDirectories>C:\Users\hll\.node-gyp\6.10.3\include\node;C:\Users\hll\.node-gyp\6.10.3\src;C:\Users\hll\.node-gyp\6.10.3\deps\uv\include;C:\Users\hll\.node-gyp\6.10.3\deps\v8\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
<BufferSecurityCheck>true</BufferSecurityCheck>
<CompileAsWinRT>false</CompileAsWinRT>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<DisableSpecificWarnings>4267;4351;4355;4800;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<ExceptionHandling>false</ExceptionHandling>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<FunctionLevelLinking>true</FunctionLevelLinking>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<OmitFramePointers>true</OmitFramePointers>
<Optimization>Full</Optimization>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<PreprocessorDefinitions>NODE_GYP_MODULE_NAME=node_printer;USING_UV_SHARED=1;USING_V8_SHARED=1;V8_DEPRECATION_WARNINGS=1;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_HAS_EXCEPTIONS=0;BUILDING_NODE_EXTENSION;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<StringPooling>true</StringPooling>
<SuppressStartupBanner>true</SuppressStartupBanner>
<TreatWarningAsError>false</TreatWarningAsError>
<WarningLevel>Level3</WarningLevel>
<WholeProgramOptimization>true</WholeProgramOptimization>
</ClCompile>
<Lib>
<AdditionalOptions>/LTCG %(AdditionalOptions)</AdditionalOptions>
</Lib>
<Link>
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;DelayImp.lib;&quot;C:\Users\hll\.node-gyp\6.10.3\$(Configuration)\node.lib&quot;</AdditionalDependencies>
<AdditionalOptions>/ignore:4199 %(AdditionalOptions)</AdditionalOptions>
<AllowIsolation>true</AllowIsolation>
<DataExecutionPrevention>true</DataExecutionPrevention>
<DelayLoadDLLs>iojs.exe;node.exe;%(DelayLoadDLLs)</DelayLoadDLLs>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<GenerateDebugInformation>true</GenerateDebugInformation>
<GenerateMapFile>true</GenerateMapFile>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
<MapExports>true</MapExports>
<OptimizeReferences>true</OptimizeReferences>
<OutputFile>$(OutDir)$(ProjectName).node</OutputFile>
<RandomizedBaseAddress>true</RandomizedBaseAddress>
<SuppressStartupBanner>true</SuppressStartupBanner>
<TargetExt>.node</TargetExt>
<TargetMachine>MachineX64</TargetMachine>
</Link>
<ResourceCompile>
<AdditionalIncludeDirectories>C:\Users\hll\.node-gyp\6.10.3\include\node;C:\Users\hll\.node-gyp\6.10.3\src;C:\Users\hll\.node-gyp\6.10.3\deps\uv\include;C:\Users\hll\.node-gyp\6.10.3\deps\v8\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>NODE_GYP_MODULE_NAME=node_printer;USING_UV_SHARED=1;USING_V8_SHARED=1;V8_DEPRECATION_WARNINGS=1;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_HAS_EXCEPTIONS=0;BUILDING_NODE_EXTENSION;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemGroup>
<None Include="..\binding.gyp"/>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\node_printer.cc"/>
<ClCompile Include="..\src\node_printer_win.cc"/>
<ClCompile Include="C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.cc"/>
<ClCompile Include="..\src\node_printer_posix.cc">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/>
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets"/>
<ImportGroup Label="ExtensionTargets"/>
</Project>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="..">
<UniqueIdentifier>{739DB09A-CC57-A953-A6CF-F64FA08E4FA7}</UniqueIdentifier>
</Filter>
<Filter Include="..\src">
<UniqueIdentifier>{8CDEE807-BC53-E450-C8B8-4DEBB66742D4}</UniqueIdentifier>
</Filter>
<Filter Include="..">
<UniqueIdentifier>{739DB09A-CC57-A953-A6CF-F64FA08E4FA7}</UniqueIdentifier>
</Filter>
<Filter Include="..\src">
<UniqueIdentifier>{8CDEE807-BC53-E450-C8B8-4DEBB66742D4}</UniqueIdentifier>
</Filter>
<Filter Include="C:">
<UniqueIdentifier>{7B735499-E5DD-1C2B-6C26-70023832A1CF}</UniqueIdentifier>
</Filter>
<Filter Include="C:\Program Files">
<UniqueIdentifier>{92EF4BA8-6BC2-65D1-451F-28EBD4AE726A}</UniqueIdentifier>
</Filter>
<Filter Include="C:\Program Files\nodejs">
<UniqueIdentifier>{A3C8E949-BCF6-0C67-6656-340A2A097708}</UniqueIdentifier>
</Filter>
<Filter Include="C:\Program Files\nodejs\node_modules">
<UniqueIdentifier>{56DF7A98-063D-FB9D-485C-089023B4C16A}</UniqueIdentifier>
</Filter>
<Filter Include="C:\Program Files\nodejs\node_modules\npm">
<UniqueIdentifier>{741E0E76-39B2-B1AB-9FA1-F1A20B16F295}</UniqueIdentifier>
</Filter>
<Filter Include="C:\Program Files\nodejs\node_modules\npm\node_modules">
<UniqueIdentifier>{56DF7A98-063D-FB9D-485C-089023B4C16A}</UniqueIdentifier>
</Filter>
<Filter Include="C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp">
<UniqueIdentifier>{77348C0E-2034-7791-74D5-63C077DF5A3B}</UniqueIdentifier>
</Filter>
<Filter Include="C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\src">
<UniqueIdentifier>{8CDEE807-BC53-E450-C8B8-4DEBB66742D4}</UniqueIdentifier>
</Filter>
<Filter Include="..">
<UniqueIdentifier>{739DB09A-CC57-A953-A6CF-F64FA08E4FA7}</UniqueIdentifier>
</Filter>
<Filter Include="..">
<UniqueIdentifier>{739DB09A-CC57-A953-A6CF-F64FA08E4FA7}</UniqueIdentifier>
</Filter>
<Filter Include="..\src">
<UniqueIdentifier>{8CDEE807-BC53-E450-C8B8-4DEBB66742D4}</UniqueIdentifier>
</Filter>
<Filter Include="..\src\_excluded_files">
<UniqueIdentifier>{158E591E-B6EA-0C85-8F5A-18EAFA09B4CE}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\node_printer.cc">
<Filter>..\src</Filter>
</ClCompile>
<ClCompile Include="..\src\node_printer_win.cc">
<Filter>..\src</Filter>
</ClCompile>
<ClCompile Include="C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.cc">
<Filter>C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\src</Filter>
</ClCompile>
<None Include="..\binding.gyp">
<Filter>..</Filter>
</None>
<ClCompile Include="..\src\node_printer_posix.cc">
<Filter>..\src\_excluded_files</Filter>
</ClCompile>
</ItemGroup>
</Project>
var printer = require("../lib"),
util = require('util'),
printerName = 'Foxit Reader PDF Printer',
printerFormat = 'TEXT';
printer.printDirect({
data:"print from Node.JS buffer", // or simple String: "some text"
printer:printerName, // printer name
type: printerFormat, // type: RAW, TEXT, PDF, JPEG, .. depends on platform
options: // supported page sizes may be retrieved using getPrinterDriverOptions, supports CUPS printing options
{
media: 'Letter',
'fit-to-page': true
},
success:function(jobID){
console.log("sent to printer with ID: "+jobID);
var jobInfo = printer.getJob(printerName, jobID);
console.log("current job info:"+util.inspect(jobInfo, {depth: 10, colors:true}));
if(jobInfo.status.indexOf('PRINTED') !== -1)
{
console.log('too late, already printed');
return;
}
console.log('cancelling...');
var is_ok = printer.setJob(printerName, jobID, 'CANCEL');
console.log("cancelled: "+is_ok);
try{
console.log("current job info:"+util.inspect(printer.getJob(printerName, jobID), {depth: 10, colors:true}));
}catch(err){
console.log('job deleted. err:'+err);
}
},
error:function(err){console.log(err);}
});
var printer = require("../lib")
, template = "N\nS4\nD15\nq400\nR\nB20,10,0,1,2,30,173,B,\"barcode\"\nP0\n";
function printZebra(barcode_text, printer_name){
printer.printDirect({data:template.replace(/barcode/, barcode_text)
, printer:printer_name
, type: "RAW"
, success:function(){
console.log("printed: "+barcode_text);
}
, error:function(err){console.log(err);}
});
}
printZebra("123", "ZEBRA");
var printer = require("../lib");
console.log('default printer name: ' + (printer.getDefaultPrinterName() || 'is not defined on your computer'));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment